@font-face {
    font-family: "Poppins";
    src: url("/dominios/udesk/assets/fonts/Poppins/Poppins-Regular.ttf")
        format("truetype");
    font-weight: 400;
    font-style: normal;
}

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

:root {
    --primary: #1d4276;
    --primary-dark: #1e2f52;
    --primary-light: #6190d1;
    --bg-light: #ffffff;
    --bg-dark: #0f172a;
    --text-light: #5e5f61;
    --text-muted: #64748b;
    --text-dark: #f1f5f9;
    --border-light: rgba(203, 213, 225, 0.3);
    --shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.color-dd {
    color: #27af8b;
}

.color-md {
    color: #0089d2;
}

.color-vd {
    color: #a91e07;
}

.color-cd {
    color: #1d4276;
}

.color-dda {
    color: #ef7f37;
}

.color-int {
    color: #006397;
}

hr {
    width: 70%;
    margin: 4rem auto;
    border: none;
    height: 1px;
    background-color: #d3d3d3;
    border-radius: 10px;
}

.btn-primary img {
    display: none;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text-light);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ===== HERO SECTION ===== */
.fondo-udesk {
    background-image: url(/dominios/udesk/assets/fondos/fondo-udesk.svg);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top center;
    min-height: auto;
}

.fondo-dentidesk {
    background: url("/dominios/udesk/assets/fondos/fondo-dd.svg") no-repeat;
    background-size: cover;
}

.fondo-medicaldesk {
    background: url("/dominios/udesk/assets/fondos/fondo-md.svg") no-repeat;
    background-size: cover;
}
.fondo-vetdesk {
    background: url("/dominios/udesk/assets/fondos/fondo-vd.svg") no-repeat;
    background-size: cover;
}

.hero {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 2rem;
}

.hero p {
    font-size: 2rem;
    color: var(--text-muted);
    margin-top: 10%;
}

.hero h1 {
    font-size: 6rem;
    font-weight: 700;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-light) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: -30px;
    margin-bottom: 2%;
}

.hero a {
    margin-bottom: 5%;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
    );
    color: white;
    border: none;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 400;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 4px 6px -1px rgba(75, 74, 73, 0.3);
}

.hero a i {
    margin-left: 10px;
}

.hero a:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 4, 221, 0.4);
}

.hero-image {
    position: relative;
    width: 70%;
    margin: 0 auto;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.logo-container {
    position: absolute;
    top: 16%;
    left: 4%;
    height: 7%;
    z-index: 10;
}

.logo-container img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    opacity: 0;
    transition: opacity 0s ease-in-out;
}

.logo-container img.active {
    opacity: 1;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: padding 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-container {
    /*width: 1400px;*/
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border: 0.5px solid var(--border-light);
    border-radius: 18px;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/*body.dark .header-inner {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(71, 85, 105, 0.3);
  }*/

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.logo a img {
    max-width: 150px;
    transition: 0.2s;
}

.logo a img:hover {
    scale: 102%;
}

/* ===== NAVIGATION ===== */
nav {
    flex: 1;
    display: flex;
    margin-left: 5%;
    /*justify-content: center;*/
}

nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

nav li {
    position: relative;
}

nav a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.625rem 1rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 300;
    font-size: 1.05rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}

nav a img {
    display: none !important;
}

body.dark nav a {
    color: var(--text-dark);
}

nav a:hover {
    background: rgba(1, 1, 17, 0.1);
    color: var(--primary);
}

/* ===== DROPDOWN ===== */
.dropdown-content {
    position: absolute;
    top: calc(100% + 1.5rem);
    /* left: 470%; */
    transform: translateX(50%) translateY(-10px);
    background: rgba(255, 255, 255, 1);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    width: 69vw;
}

body.dark .dropdown-content {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(71, 85, 105, 0.3);
}

.dropdown.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(0%) translateY(0);
    pointer-events: all;
}

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

.dropdown-column h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.dropdown-column a {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin: 0 -0.75rem;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
}

body.dark .dropdown-column a {
    color: var(--text-dark);
}

.dropdown-column a:hover {
    background: rgba(0, 0, 0, 0.08);
}

.dropdown-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    /* background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(129, 140, 248, 0.1) 100%); */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 600;
}

.dropdown-icon i {
    font-size: 2rem;
}

.dropdown-text {
    flex: 1;
}

.dropdown-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
}

.dropdown-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== ACTIONS ===== */
/* .actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  } */

.icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.2s ease;
    font-size: 1.25rem;
    display: none;
}

/* body.dark .icon-btn {
    color: var(--text-dark);
  }

  .icon-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
  } */

.btn-primary {
    padding: 0.625rem 2rem;
    background: linear-gradient(135deg, #3b3b3b 0%, #7c7c7c 100%);
    color: white;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 40px;
    font-weight: 400;
    transition: all 1s ease;
    box-shadow: 0 4px 6px -1px rgba(75, 74, 73, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(32, 35, 207, 0.4);
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-light) 100%
    );
}

.btn-primary:active {
    transform: translateY(0);
}

/* ===== SCROLLED STATE ===== */
header.scrolled {
    padding: 0.75rem 0;
}

header.scrolled .header-inner {
    padding: 0.75rem 1.25rem;
    box-shadow: var(--shadow);
}

header.scrolled .logo img {
    width: 120px;
}

/* header.scrolled .icon-btn {
    width: 36px;
    height: 36px;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
  } */

header.scrolled .btn-primary {
    padding: 0.5rem 1.25rem;
}

/* -----------------------------------------------------Sección dos------------------------------------------------------------- */
.sec-dos-logos-comerciales {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
    );
    display: flex;
    padding: 2rem 4rem;
    justify-content: space-evenly;
    margin-top: -32px;
}

.sec-dos-logos-comerciales img {
    height: 30px;
}

.sec-dos-resumen {
    display: flex;
    padding: 8rem 17rem;
    align-items: flex-start;
    gap: 2rem;
}

.sec-dos-resumen-left {
    width: 50%;
}

.sec-dos-resumen-left h2 {
    font-size: 4rem;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-light) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
}

.sec-dos-resumen-right {
    width: 50%;
}

/* -----------------------------------------------------Sección tres------------------------------------------------------------- */
.section-tres {
    padding: 0 17rem;
}

.sec-tres-right {
    display: flex;
    gap: 2rem;
    margin-bottom: 40px;
    position: relative;
    border-radius: 20px;
    padding: 40px 30px;
    overflow: hidden;
}

.sec-tres-prod-left {
    width: 50%;
    background-color: var(--text-light);
    border-radius: 20px;
}

.sec-tres-prod-left-textos {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background-color: rgb(0, 0, 0, 0.5);
    width: 40%;
    float: right;
    border-radius: 10px;
    color: var(--bg-light);
    margin-top: 20px;
    margin-right: 20px;
}

.sec-tres-prod-left-textos h4 {
    font-size: 1.1rem;
    line-height: 1.3;
}

.sec-tres-prod-left-textos p {
    font-size: 0.8rem;
}

.sec-tres-prod-right {
    display: flex;
    width: 50%;
    flex-direction: column;
}

.sec-tres-prod-right img {
    width: 200px;
    margin-bottom: 60px;
}

.sec-tres-prod-right p {
    margin-bottom: 60px;
}

.sec-tres-prod-right .btn-dd {
    text-decoration: none;
    background-color: #27af8b;
    padding: 0.625rem 1.5rem;
    color: white;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 40px;
    font-weight: 400;
    transition: all 0.5s ease;
    box-shadow: 0 4px 6px -1px rgba(75, 74, 73, 0.3);
    width: 200px;
    text-align: center;
}

.sec-tres-prod-right .btn-dd:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(1, 255, 170, 0.4);
}

.deg-dd::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 6px;
    /* grosor del borde */
    background: linear-gradient(to right, white, #27af8b);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.deg-md::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 6px;
    /* grosor del borde */
    background: linear-gradient(to left, white, #0089d2);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.sec-tres-prod-right .btn-md {
    text-decoration: none;
    background-color: #0089d2;
    padding: 0.625rem 1.5rem;
    color: white;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 40px;
    font-weight: 400;
    transition: all 0.5s ease;
    box-shadow: 0 4px 6px -1px rgba(75, 74, 73, 0.3);
    width: 230px;
    text-align: center;
}

.sec-tres-prod-right .btn-md:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(5, 106, 238, 0.4);
}

.deg-vd::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 6px;
    /* grosor del borde */
    background: linear-gradient(to right, white, #a91e07);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.sec-tres-prod-right .btn-vd {
    text-decoration: none;
    background-color: #a91e07;
    padding: 0.625rem 1.5rem;
    color: white;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 40px;
    font-weight: 400;
    transition: all 0.5s ease;
    box-shadow: 0 4px 6px -1px rgba(75, 74, 73, 0.3);
    width: 230px;
    text-align: center;
}

.sec-tres-prod-right .btn-vd:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(255, 0, 55, 0.4);
}

.deg-cd::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 6px;
    /* grosor del borde */
    background: linear-gradient(to left, white, #1d4276);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.sec-tres-prod-right .btn-cd {
    text-decoration: none;
    background-color: #1d4276;
    padding: 0.625rem 1.5rem;
    color: white;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 40px;
    font-weight: 400;
    transition: all 0.5s ease;
    box-shadow: 0 4px 6px -1px rgba(75, 74, 73, 0.3);
    width: 230px;
    text-align: center;
}

.sec-tres-prod-right .btn-cd:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 21, 78, 0.4);
}

.fondo-dd {
    background: url("/dominios/udesk/assets/imgs-index/fondo-dd.png") no-repeat;
    background-size: cover;
}

.fondo-md {
    background: url("/dominios/udesk/assets/imgs-index/fondo-md.png") no-repeat;
    background-size: cover;
}

.fondo-vd {
    background: url("/dominios/udesk/assets/imgs-index/fondo-vd.jpg") no-repeat;
    background-size: cover;
}

.fondo-cd {
    background: url("/dominios/udesk/assets/imgs-index/fondo-cd.png") no-repeat;
    background-size: cover;
}

/* -----------------------------------------------Sección cuatro------------------------------------------------------- */
.section-cuatro {
    padding: 0 17rem;
}

.section-cuatro h3 {
    font-size: 3rem;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-light) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 20px;
}

.section-cuatro-texto-superior p {
    width: 50%;
    margin-bottom: 20px;
}

.section-cuatro-contenido-medio {
    display: flex;
    gap: 4px;
}

.section-cuatro h4 {
    font-size: 1.3rem;
}

.contenido-medio-elemento {
    background-color: #f2f2f2;
    padding: 3rem 2rem;
    border-radius: 20px;
    width: 25%;
}

.contenido-medio-elemento img {
    width: 40px;
}

.seccion-cuatro-contenido-inferior {
    display: flex;
    margin-top: 4px;
    gap: 4px;
}

.seccion-cuatro-contenido-inferior img {
    width: 40px;
}

.seccion-cuatro-contenido-inferior-left {
    width: 50%;
    gap: 4px;
    background-color: #f2f2f2;
    padding: 3rem 2rem;
    border-radius: 20px;
}

.seccion-cuatro-contenido-inferior-right {
    width: 50%;
    padding: 2rem 0rem 3rem 2rem;
    text-align: right;
}

.seccion-cuatro-contenido-inferior-right a {
    padding: 0.625rem 1.5rem;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
    );
    color: white;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 40px;
    font-weight: 400;
    transition: all 0.5s ease;
    box-shadow: 0 4px 6px -1px rgba(75, 74, 73, 0.3);
    text-decoration: none;
}

.seccion-cuatro-contenido-inferior-right a:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 4, 221, 0.4);
}

.seccion-cuatro-contenido-inferior-right p {
    margin-bottom: 30px;
}

/* -----------------------------------------------------Sección cinco------------------------------------------------------------- */
.section-cinco {
    padding-left: 17rem;
}

.section-cinco-academico-uno {
    display: flex;
    align-items: center;
}

.academico-uno-left {
    width: 50%;
}

.academico-uno-left h3 {
    font-size: 3rem;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-light) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
    margin-bottom: 20px;
}

.academico-uno-left p {
    margin-bottom: 100px;
}

.academico-uno-right {
    width: 50%;
}

.academico-uno-right img {
    width: 100%;
}

.academico-uno-left-logos {
    display: flex;
    justify-content: flex-start;
    gap: 4rem;
}

.academico-uno-left-logos img {
    height: 40px;
}

.section-cinco-contenedores {
    margin-top: 80px;
    padding-right: 17rem;
}

.section-cinco-contenedor {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.section-cinco-contenedor img {
    width: 35%;
}

.section-cinco-contenido {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 65%;
    padding: 4rem 7rem;
    background: linear-gradient(135deg, #27af8b, #16775d);
    border-radius: 30px;
    color: white;
}

.section-cinco-contenido img {
    width: 150px;
    margin-bottom: 20px;
}

.section-cinco-contenido h3 {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 20px;
}

.section-cinco-contenido p {
    line-height: 1.2;
}

.section-cinco-contenido a {
    margin-top: 30px;
    padding: 0.625rem 1.5rem;
    background: white;
    color: #27af8b;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 40px;
    font-weight: 400;
    box-shadow: 0 4px 6px -1px rgba(75, 74, 73, 0.3);
    text-decoration: none;
    width: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

.contenido-med-academico {
    background: linear-gradient(135deg, #0089d2, #034a70);
}

.contenido-med-academico a {
    color: #0089d2;
}

.contenido-vet-academico {
    background: linear-gradient(135deg, #a91e07, #681405);
}

.contenido-vet-academico a {
    color: #a91e07;
}

/* ------------------------------------------------------------Sección testimonios------------------------------------------------- */
.testimonials-section {
    position: relative;
    padding: 0 17rem;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
}

.carousel-track {
    display: flex;
    gap: 24px;
    animation: scroll 120s linear infinite;
    width: fit-content;
}

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

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    width: 400px;
    background: white;
    padding: 32px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
}

.quote-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0089d2 0%, #012c68 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: white;
}

.testimonial-text {
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 24px;
    font-weight: 400;
}

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.author-title {
    font-size: 14px;
    color: var(--text-muted);
}

/* -------------------------------------------------Sección final---------------------------------------------------------- */
.logos-integraciones {
    margin: 0;
}

.section-final h3 {
    text-align: center;
    font-size: 3rem;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-light) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
}

.final-cta {
    background: url("/dominios/udesk/assets/imgs-index/Group 590 (1).png")
        no-repeat;
    background-size: cover;
    padding: 7rem 17rem;
    text-align: center;
}

.contenido-final-cta h4 {
    color: white;
    font-size: 3rem;
    margin-bottom: 40px;
}

.contenido-final-cta p {
    color: white;
}

.contenido-final-cta a {
    margin: 80px auto 40px auto;
    padding: 0.625rem 1.5rem;
    background: white;
    color: #012c68;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 40px;
    font-weight: 400;
    box-shadow: 0 4px 6px -1px rgba(75, 74, 73, 0.3);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 300px;
}

/* ------------------------------------------------------Footer----------------------------------------------------------- */
.columnas-footer {
    background: linear-gradient(
        135deg,
        #3b3b3b 0%,
        #5e5f61 100%
    );
    margin-top: 20px;
    display: flex;
    padding: 3rem 17rem;
    gap: 18px;
}

.columna-uno-footer {
    color: white;
    width: 33%;
}

.columna-uno-footer p {
    font-size: 0.8rem;
}

.columna-uno-footer i {
    font-size: 1.2rem;
    margin-right: 20px;
}

.columna-uno-footer img {
    width: 130px;
}

.columna-uno-footer h4 {
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.columna-uno-footer .contactos {
    display: flex;
    flex-direction: column;
}

.columna-uno-footer .contactos .contactos-icono {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}

.columna-dos-footer {
    color: white;
    width: 100%;
}

.columna-dos-footer a {
    color: white;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
}

.columna-dos-footer h4 {
    margin-top: 50px;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.columna-dos-footer .footer-comerciales {
    display: flex;
    flex-direction: column;
}

.columna-dos-footer .footer-academicos {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.columna-tres-footer {
    color: white;
    width: 100%;
}

.columna-tres-footer a {
    color: white;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
}

.columna-tres-footer h4 {
    margin-top: 50px;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.columna-tres-footer .navegacion-footer {
    display: flex;
    flex-direction: column;
}

.columna-cuatro-footer {
    color: white;
    width: 33%;
}

.columna-cuatro-footer a {
    color: white;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
    font-size: 1.8rem;
    margin-left: 10px;
}

.columna-cuatro-footer h4 {
    margin-top: 50px;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.columna-cuatro-footer form {
    display: flex;
    flex-direction: column;
}

.columna-cuatro-footer form input {
    margin-bottom: 10px;
    font-size: 0.9rem;
    background: none;
    border: none;
    border-bottom: 1px solid white;
    color: white;
}

.columna-cuatro-footer form input::placeholder {
    color: rgb(255, 255, 255, 0.5);
}

.columna-cuatro-footer form input:focus {
    outline: none;
}

.columna-cuatro-footer form button {
    margin-top: 10px;
    padding: 5px;
    border-radius: 20px;
    cursor: pointer;
    border: none;
    margin-bottom: 60px;
}

.columna-cuatro-footer .redes-sociales-footer {
    float: right;
}

.conjunto-footer {
    display: flex;
    width: 33%;
    gap: 5rem;
}

.iconos-head {
    width: 2rem;
    height: auto;
}

.iconos-arrow {
    width: 1rem;
    height: auto;
    margin-left: 1rem;
}

.btn-demo-arrow {
    display: flex;
    align-items: center;
}

.seccion-cuatro-contenido-inferior-right a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

.seccion-cuatro-contenido-inferior-right a img {
    width: 1rem;
    margin-left: 1rem;
}

.section-cinco-contenido a img {
    width: 1rem;
    margin: 0;
    margin-left: 1rem;
}

.contactos img {
    width: 1.3rem;
    margin-right: 1rem;
    margin-left: 0;
}

.redes-sociales-footer img {
    width: 2rem;
    margin: 0;
}

.dropdown-icon img {
    display: block !important;
}

.header-active {
    color: #0077b5;
}

/* =============================================== RESPONSIVE ================================================= */
@media (max-width: 1800px) {
    hr {
        width: 85%;
    }

    /* ===== HERO SECTION ===== */
    .hero-image {
        width: 85%;
    }

    /* ===== DROPDOWN ===== */
    .dropdown-content {
        width: 80vw;
    }

    .dropdown.active .dropdown-content {
        transform: translateX(-11%) translateY(0);
    }

    /* -----------------------------------------------------Sección dos------------------------------------------------------------- */
    .sec-dos-logos-comerciales {
        padding: 2rem 1rem;
    }

    .sec-dos-resumen {
        display: flex;
        padding: 4rem 5em;
    }

    /* -----------------------------------------------------Sección tres------------------------------------------------------------- */
    .section-tres {
        padding: 0 5rem;
    }

    /* -----------------------------------------------Sección cuatro------------------------------------------------------- */
    .section-cuatro {
        padding: 0 5rem;
    }

    /* -----------------------------------------------------Sección cinco------------------------------------------------------------- */
    .section-cinco {
        padding-left: 5rem;
    }

    .section-cinco-contenedores {
        padding-right: 5rem;
    }

    /* ------------------------------------------------------------Sección testimonios------------------------------------------------- */
    .testimonials-section {
        padding: 0 5rem;
    }

    /* -------------------------------------------------Sección final---------------------------------------------------------- */
    .final-cta {
        padding: 4rem 5rem;
    }

    /* ------------------------------------------------------Footer----------------------------------------------------------- */
    .columnas-footer {
        padding: 3rem 5rem;
    }

    .columna-uno-footer {
        width: 28%;
    }

    .columna-dos-footer {
        width: 28%;
    }

    .columna-tres-footer {
        width: 16%;
    }

    .columna-cuatro-footer {
        width: 28%;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    hr {
        width: 90%;
    }

    /* ===== HERO SECTION ===== */
    .hero p {
        font-size: 2rem;
        margin-top: 20%;
    }

    .hero h1 {
        font-size: 5rem;
        font-weight: 700;
        margin-top: -20px;
    }

    .hero-image {
        width: 90%;
    }

    /* ===== HEADER ===== */
    .header-inner {
        justify-content: space-around;
    }

    /* ===== LOGO ===== */
    .logo {
        gap: 0;
    }

    .logo a img {
        max-width: 100px;
    }

    /* ===== NAVIGATION ===== */
    nav {
        margin-left: 0;
        justify-content: center;
    }

    nav ul {
        gap: 3rem;
        align-items: center;
    }

    nav a {
        font-size: 2rem;
    }

    nav a span {
        display: none;
    }

    nav a img {
        display: block !important;
    }

    /* ===== DROPDOWN ===== */
    .dropdown.active .dropdown-content {
        transform: translateX(-16%) translateY(0);
    }

    .dropdown-column h4 {
        font-size: 0.7rem;
    }

    .dropdown-column a {
        align-items: center;
        gap: 0.5rem;
    }

    .dropdown-icon i {
        font-size: 1.5rem;
    }

    .dropdown-text strong {
        font-weight: 500;
    }

    /* -----------------------------------------------------Sección dos------------------------------------------------------------- */
    .sec-dos-logos-comerciales {
        padding: 2rem 3rem;
    }

    .sec-dos-logos-comerciales img {
        height: 20px;
    }

    .sec-dos-resumen {
        flex-direction: column;
        padding: 4rem 5rem;
    }

    .sec-dos-resumen-left {
        width: 100%;
    }

    .sec-dos-resumen-left h2 {
        font-size: 3rem;
    }

    .sec-dos-resumen-right {
        width: 100%;
    }

    /* -----------------------------------------------------Sección tres------------------------------------------------------------- */
    .section-tres {
        padding: 0 5rem;
    }

    .sec-tres-right {
        gap: 1rem;
        flex-direction: column;
    }

    .sec-tres-prod-left {
        width: 100%;
        height: 400px;
    }

    .sec-tres-prod-right {
        width: 100%;
        margin-top: 10px;
    }

    .sec-tres-prod-right p {
        margin-bottom: 50px;
    }

    .fondo-md {
        margin-top: 40px;
    }

    .fondo-cd {
        margin-top: 40px;
    }

    /* -----------------------------------------------Sección cuatro------------------------------------------------------- */
    .section-cuatro {
        padding: 0 5rem;
    }

    .section-cuatro h3 {
        font-size: 3rem;
    }

    .section-cuatro-texto-superior p {
        width: 100%;
        margin-bottom: 20px;
    }

    .section-cuatro h4 {
        font-size: 1.1rem;
    }

    /* -----------------------------------------------------Sección cinco------------------------------------------------------------- */
    .section-cinco {
        padding-left: 5rem;
    }

    .section-cinco-academico-uno {
        display: flex;
        align-items: center;
    }

    .academico-uno-left h3 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .academico-uno-left p {
        margin-bottom: 30px;
    }

    .academico-uno-left-logos {
        justify-content: center;
        gap: 30px;
    }

    .academico-uno-left-logos img {
        height: 25px;
    }

    .section-cinco-contenedores {
        margin-top: 40px;
        padding-right: 5rem;
    }

    .section-cinco-contenedor {
        gap: 4px;
        margin-bottom: 4px;
    }

    .section-cinco-contenedor img {
        width: 35%;
        height: auto;
        object-fit: cover;
        border-radius: 30px;
    }

    .section-cinco-contenido {
        width: 85%;
        padding: 4rem 2rem;
    }

    .section-cinco-contenido img {
        width: 120px;
    }

    .section-cinco-contenido h3 {
        font-size: 1.6rem;
    }

    /* ------------------------------------------------------------Sección testimonios------------------------------------------------- */
    .testimonials-section {
        padding: 0 5rem;
    }

    /* -------------------------------------------------Sección final---------------------------------------------------------- */
    .logos-integraciones {
        margin: 0;
    }

    .section-final h3 {
        margin-bottom: 64px;
    }

    .final-cta {
        padding: 7rem 5rem;
    }

    .contenido-final-cta h4 {
        font-size: 2.5rem;
    }

    /* ------------------------------------------------------Footer----------------------------------------------------------- */
    .columnas-footer {
        padding: 3rem 5rem;
        gap: 20px;
    }

    .columna-uno-footer {
        width: 28%;
    }

    .columna-uno-footer i {
        font-size: 1.2rem;
        margin-right: 5px;
    }

    .columna-uno-footer img {
        width: 80px;
    }

    .contactos img {
        width: 1rem;
    }

    .columna-uno-footer h4 {
        font-size: 0.9rem;
        margin-bottom: 40px;
        margin-top: 10px;
    }

    .columna-uno-footer .contactos {
        display: flex;
        flex-direction: column;
    }

    .columna-dos-footer {
        width: 28%;
    }

    .columna-tres-footer {
        color: white;
        width: 16%;
    }

    .columna-cuatro-footer {
        width: 28%;
    }

    .columna-cuatro-footer a {
        font-size: 1.4rem;
    }

    .columna-cuatro-footer form button {
        margin-bottom: 40px;
    }

    .section-cuatro-contenido-medio {
        display: flex;
        flex-direction: column;
    }

    .contenido-medio-elemento {
        width: 100%;
    }
}

/* ------------------------------------------------Móviles--------------------------------------------------------- */

/* === Móviles (hasta 768px) === */
@media (max-width: 768px) {
    html {
        padding: 0;
        margin: 0;
        overflow-x: hidden;
    }

    hr {
        width: 90%;
    }

    /* ===== HERO SECTION ===== */
    .hero p {
        font-size: 1.5rem;
        margin-top: 30%;
        line-height: 1.2;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 4rem;
        margin-bottom: 2rem;
        line-height: 1.2;
    }

    .hero-image {
        width: 95%;
        margin-top: 2rem;
    }

    /* ===== HEADER ===== */
    .header-container {
        width: 100%;
    }

    .header-inner {
        padding: 0.5rem 1rem;
    }

    .header-inner .logo a img {
        max-width: 60px;
    }

    .contacto-text {
        display: none;
    }

    .btn-primary img {
        display: block;
    }

    /* ===== NAVIGATION ===== */
    nav ul {
        gap: 0.1rem;
    }

    nav a {
        font-size: 0.8rem;
        padding: 0 0.5rem;
    }

    .btn-primary {
        padding: 0.3rem 0.7rem;
        font-size: 0.7rem;
    }

    header.scrolled .btn-primary {
        padding: 0.3rem 1rem;
    }

    .btn-primary i {
        display: block;
    }

    /* ===== DROPDOWN ===== */
    .dropdown-content {
        width: 85vw;
    }

    .dropdown.active .dropdown-content {
        transform: translateX(-25%) translateY(0);
    }

    .dropdown-grid {
        grid-template-columns: repeat(1, 3fr);
        gap: 0.5rem;
    }

    /* -----------------------------------------------------Sección dos------------------------------------------------------------- */
    .sec-dos-logos-comerciales {
        padding: 2rem;
    }

    .sec-dos-resumen {
        padding: 2rem;
    }

    .sec-dos-resumen-left h2 {
        font-size: 2rem;
    }

    .sec-dos-resumen-right p {
        font-size: 0.8rem;
    }

    .sec-dos-logos-comerciales img {
        height: 10px;
    }

    /* -----------------------------------------------------Sección tres------------------------------------------------------------- */
    .section-tres {
        padding: 0 2rem;
    }

    .sec-tres-prod-left {
        height: 13rem;
    }

    .sec-tres-prod-left-textos {
        width: 100%;
        margin: 0;
        height: 100%;
    }

    .sec-tres-prod-right img {
        width: 150px;
        margin-bottom: 1rem;
    }

    .sec-tres-prod-right p {
        margin-bottom: 1rem;
        font-size: 0.8rem;
    }

    .sec-tres-right {
        gap: 1rem;
        flex-direction: column;
        padding: 1rem;
    }

    .sec-tres-prod-right .btn-dd,
    .sec-tres-prod-right .btn-md,
    .sec-tres-prod-right .btn-vd,
    .sec-tres-prod-right .btn-cd {
        font-size: 0.8rem;
        padding: 0.5rem;
        width: auto;
    }

    .fondo-md,
    .fondo-cd {
        margin-top: 0;
    }

    /* -----------------------------------------------Sección cuatro------------------------------------------------------- */
    .section-cuatro {
        padding: 0 2rem;
    }

    .section-cuatro h3 {
        font-size: 2rem;
    }

    .section-cuatro p {
        font-size: 0.8rem;
    }

    .section-cuatro-contenido-medio {
        flex-direction: column;
    }

    .contenido-medio-elemento {
        background-color: #f2f2f2;
        padding: 1.5rem;
        border-radius: 20px;
    }

    .seccion-cuatro-contenido-inferior {
        display: flex;
        margin-top: 4px;
        flex-direction: column;
    }

    .seccion-cuatro-contenido-inferior-left {
        width: 100%;
        padding: 1.5rem;
    }

    .seccion-cuatro-contenido-inferior-right {
        width: 100%;
        padding: 2rem 0rem;
        text-align: center;
    }

    .seccion-cuatro-contenido-inferior-right a {
        font-size: 0.8rem;
    }

    /* -----------------------------------------------------Sección cinco------------------------------------------------------------- */
    .section-cinco {
        padding-left: 2rem;
    }

    .section-cinco-academico-uno {
        display: flex;
        flex-direction: column-reverse;
    }

    .academico-uno-right {
        width: 100%;
    }

    .academico-uno-left {
        width: 100%;
        padding-right: 2rem;
    }

    .academico-uno-left h3 {
        font-size: 2rem;
        padding-bottom: 1rem;
    }

    .academico-uno-left p {
        font-size: 0.8rem;
        margin: 0;
        margin-bottom: 10px;
    }

    .academico-uno-left-logos {
        justify-content: center;
        gap: 20px;
    }

    .academico-uno-left-logos img {
        height: 20px;
    }

    .section-cinco-contenedores {
        margin-top: 1rem;
        padding-right: 2rem;
    }

    .section-cinco-contenedor {
        display: flex;
        flex-direction: column;
        margin-top: 2rem;
    }

    .section-cinco-contenedor .img-separada {
        width: 100%;
        height: 15rem;
    }

    .contenedor-medio {
        flex-direction: column-reverse;
    }

    .section-cinco-contenido {
        width: 100%;
        padding: 2rem;
    }

    .section-cinco-contenido p {
        font-size: 0.8rem;
    }

    .section-cinco-contenido img {
        width: 80px;
    }

    .section-cinco-contenido h3 {
        font-size: 1.6rem;
    }

    .section-cinco-contenido a {
        font-size: 0.8rem;
        width: 100%;
    }

    /* ------------------------------------------------------------Sección testimonios------------------------------------------------- */
    .testimonials-section {
        padding: 0 2rem;
    }

    .testimonials-section p {
        font-size: 0.8rem;
    }

    .testimonial-card {
        width: 70vw;
    }

    /* -------------------------------------------------Sección final---------------------------------------------------------- */
    .logos-integraciones {
        margin: 0;
    }

    .section-final h3 {
        margin: 0 auto;
        margin-bottom: 60px;
        width: 90%;
        text-align: center;
        font-size: 2rem;
    }

    .final-cta {
        padding: 3rem 2rem;
    }

    .contenido-final-cta h4 {
        font-size: 2rem;
    }

    .contenido-final-cta a {
        font-size: 0.8rem;
    }

    /* ------------------------------------------------------Footer----------------------------------------------------------- */
    .columnas-footer {
        flex-direction: column;
        padding: 2rem;
    }

    .columnas-footer h4 {
        font-size: 0.7rem;
        margin-top: 0;
    }

    .columnas-footer a {
        font-size: 0.7rem;
    }

    .columna-uno-footer {
        width: 100%;
    }

    .columna-uno-footer i {
        font-size: 1rem;
        margin-right: 5px;
    }

    .columna-uno-footer img {
        width: 80px;
    }

    .contactos img {
        width: 1rem;
    }

    .columna-uno-footer h4 {
        font-size: 0.7rem;
        margin-bottom: 40px;
        margin-top: 15px;
    }

    .columnas-footer p {
        font-size: 0.6rem;
    }

    .columna-uno-footer .contactos {
        display: flex;
        flex-direction: column;
    }

    .columna-dos-footer {
        width: 100%;
    }

    .columna-tres-footer {
        color: white;
        width: 100%;
    }

    .columna-cuatro-footer {
        width: 100%;
    }

    .columna-cuatro-footer a {
        font-size: 1.4rem;
    }

    .columna-cuatro-footer form button {
        margin-bottom: 40px;
    }

    .columna-cuatro-footer form input {
        font-size: 0.7rem;
    }

    .conjunto-footer {
        display: flex;
    }

    .iconos-head {
        width: 1.5rem;
        height: auto;
    }

    .btn-contacto-svg {
        width: 0.8rem;
    }
    
}

/* --------------------------------------------Animación de scroll------------------------------------- */

.animate-on-scroll {
    opacity: 0 !important;
    transition:
        opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

/* Animación desde la izquierda */
.animate-on-scroll.slide-left {
    transform: translateX(-100px) !important;
}

/* Animación desde la derecha */
.animate-on-scroll.slide-right {
    transform: translateX(100px) !important;
}

/* Animación desde arriba */
.animate-on-scroll.slide-top {
    transform: translateY(-100px) !important;
}

/* Animación desde abajo */
.animate-on-scroll.slide-bottom {
    transform: translateY(100px) !important;
}

/* Animación de zoom */
.animate-on-scroll.zoom-in {
    transform: scale(0.8) !important;
}

/* Estado visible - PERMANECE así */
.animate-on-scroll.visible {
    opacity: 1 !important;
    transform: translateX(0) translateY(0) scale(1) !important;
}

/* -------------------------------------------ESTILOS NOSOTROS------------------------------------------------------------------ */
.hero-dos-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
}

.hero-dos-content .franja-izq {
    width: 25%;
    height: 4px;
    background: linear-gradient(
        to right,
        #16775d 0%,
        #16775d 46%,
        #1b8a75 48%,
        #0d6fa8 52%,
        #006397 54%,
        #006397 100%
    );
    border-radius: 0 4rem 4rem 0;
}

.hero-dos-content .franja-der {
    width: 25%;
    height: 4px;
    background: linear-gradient(
        to right,
        #a91e07 0%,
        #a91e07 46%,
        #a54433 48%,
        #1e467e 52%,
        #012c68 54%,
        #012c68 100%
    );
    border-radius: 4rem 0 0 4rem;
}

.hero-dos-content p {
    text-align: center;
    width: 50%;
    margin: 0 2rem;
}

.sec-dos-nosotros-left {
    margin-bottom: 4rem;
}

.timeline-container {
    display: grid;
    grid-template-columns: 1fr 4px 1fr;
    gap: 40px;
    width: 60%;
}

.timeline-vertical {
    width: 4px;
    background: linear-gradient(
        to bottom,
        #16b37f 0%,
        #0089d2 33%,
        #1e2f52 66%,
        #a91e07 100%
    );
    border-radius: 20px;
}

.timeline-container img {
    width: 12rem;
}

.col-left {
    text-align: right;
}

.timeline-medicaldesk {
    margin-top: 10rem;
}

.timeline-caldesk {
    margin-top: 10rem;
}

.timeline-caldesk img {
    width: 10rem;
}

.timeline-adentidesk {
    margin-top: 10rem;
}

.timeline-amedicaldesk {
    margin-top: 10rem;
}

.timeline-avetdesk {
    margin-top: 10rem;
}

.timeline-vetdesk {
    margin-top: 10rem;
}

.resumen-nosotros-dos {
    padding-bottom: 0;
}

.nuestra-mision h3 {
    text-align: center;
}

.contenido-mision {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 4rem;
}

.contenedor-mision {
    background-color: #1d4276;
    display: flex;
    text-align: center;
    color: white;
    padding: 4rem 2rem;
    margin-top: 2rem;
    border-radius: 2rem;
    margin-bottom: 2rem;
}

.contenedor-mision-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.contenedor-mision-col span {
    font-size: 3rem;
}

.contenido-mision p {
    width: 100%;
}

.nosotros-equipo {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
    );
}

.nosotros-equipo .titulo-equipo {
    color: white !important;
    padding: 4rem 17rem;
    text-align: center;
    font-size: 3rem;
}

.equipo-trabajo {
    display: flex;
    color: white;
    padding: 0 17rem 8rem 17rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contenido-equipo {
    width: 33%;
    padding: 2rem 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contenido-equipo .foto-nosotros {
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
    filter: grayscale(100%);
    background-color: white;
}

.masonry {
    column-count: 3;
    column-gap: 15px;
    max-width: 100%;
    margin: auto;
    padding: 4rem 17rem;
    display: none;
}

.masonry img {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 8px;
    display: block;
    break-inside: avoid;
    /* Evita que se corten las imágenes */
    transition: transform 0.3s ease;
}

.masonry img:hover {
    transform: scale(1.02);
}

.logos-nosotros {
    margin-top: 8rem;
}

@media (max-width: 1800px) {
    .nosotros-equipo .titulo-equipo {
        padding: 4rem 5rem;
    }

    .equipo-trabajo {
        padding: 0 5rem 8rem 5rem;
    }

    .masonry {
        padding: 4rem 5rem;
    }
}

@media (max-width: 1024px) {
    .masonry {
        column-count: 2;
    }

    .timeline-container {
        width: 100%;
        margin-top: 4rem;
    }

    .contenedor-mision {
        flex-direction: column;
    }

    .nosotros-equipo .titulo-equipo {
        padding: 2rem;
    }

    .equipo-trabajo {
        padding: 2rem;
    }

    .nosotros-equipo .titulo-equipo {
        font-size: 2rem;
    }

    .contenido-equipo {
        padding: 2rem;
    }

    .masonry {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .masonry {
        column-count: 1;
    }

    .hero-dos-content p {
        line-height: 1.2;
        width: 100%;
        margin: 0;
    }

    .logos-nosotros {
        margin-top: 2rem;
    }

    .timeline-container img {
        width: 6rem;
    }

    .timeline-container p {
        font-size: 0.7rem;
    }

    .contenedor-mision-col span {
        font-size: 2rem;
    }

    .contenedor-mision {
        padding: 2rem;
    }

    .contenido-mision {
        margin-bottom: 2rem;
    }

    .nosotros-equipo .titulo-equipo {
        font-size: 1.5rem;
    }

    .equipo-trabajo {
        flex-direction: column;
        align-items: center;
    }

    .contenido-equipo {
        width: 100%;
    }
}

/* ----------------------------------------Sección noticias--------------------------------------------- */
.titulo-noticias {
    margin-top: 8% !important;
}

.parrafo-noticias {
    font-size: 1rem !important;
    margin-top: 0 !important;
}

.hero-noticias {
    padding: 0 17rem;
    display: flex;
    gap: 2rem;
    flex-direction: row-reverse;
}

.noticias-left {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.noticias-left img {
    width: 100%;
    border-radius: 1rem;
}

.noticias-left h4 {
    color: var(--primary);
}

.noticias-right {
    width: 60%;
}

.noticias-right img {
    width: 100%;
    border-radius: 1rem;
}

.noticias-right p {
    margin-top: 2rem;
}

.noticias-right h3 {
    color: var(--primary);
}

.news-section {
    margin-top: 6rem;
}

.news-section form {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    margin-top: 2rem;
    width: 40%;
    gap: 1rem;
}

.news-section form input {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 1rem;
}

.news-section form button {
    padding: 0.8rem;
    border-radius: 0.5rem;
    border: 0.1px solid white;
    color: white;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
    );
    font-size: 1rem;
}

.news-section form button:hover {
    cursor: pointer;
}

.section-all-news {
    padding: 0 17rem;
    margin-top: 4rem;
}

.all-news-header {
    width: 100%;
    margin-bottom: 4rem;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    background-color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 2rem;
}

.all-news-header a {
    text-decoration: none;
    color: white;
    transition: 1s;
}

.all-news-header a:hover {
    background-color: white;
    color: var(--primary);
    padding: 0 1rem;
    border-radius: 1rem;
}

.all-noticias-uno {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.all-noticias-uno h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.all-noticias-uno img {
    width: 50%;
    height: auto;
    object-fit: contain;
    border-radius: 1rem;
}

.all-noticias-dos {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.all-noticias-dos h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.all-noticias-dos img {
    width: 100%;
    border-radius: 1rem;
}

.logo-news {
    height: 2.5rem !important;
    width: auto !important;
}

.all-noticias-tres {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.all-noticias-tres img {
    width: 100%;
}

.all-noticias-tres h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Responsive----------------------------------------------- */
@media (max-width: 1800px) {
    .hero-noticias {
        padding: 4rem 5em;
    }

    .section-all-news {
        padding: 4rem 5em;
    }
}

@media (max-width: 768px) {
    .titulo-noticias {
        margin-top: 30% !important;
        font-size: 3rem !important;
    }

    .hero-noticias {
        padding: 0 2rem;
        display: flex;
        flex-direction: column-reverse;
    }

    .noticias-right {
        width: 100%;
    }

    .noticias-left {
        width: 100%;
    }

    .news-section form {
        width: 80%;
    }

    .section-all-news {
        padding: 0 2rem;
    }

    .all-news-header {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .all-news-header a {
        font-size: 0.8rem;
    }

    .all-news-dentidesk,
    .all-news-vetdesk {
        display: flex;
        flex-direction: column;
        margin-top: 10px;
    }

    .logo-news {
        height: 2rem !important;
        width: auto !important;
        object-fit: contain;
    }

    .all-noticias-uno {
        display: flex;
        flex-direction: column;
        margin-top: 2rem;
    }

    .all-noticias-uno img {
        width: 100%;
    }

    .all-noticias-dos {
        flex-direction: column;
    }

    .noticia-left .logo-news {
        display: block;
        margin: 0 auto;
        margin-bottom: 2rem;
    }

    .noticia-right .logo-news {
        display: block;
        margin: 0 auto;
        margin-bottom: 2rem;
    }

    .all-noticias-tres {
        flex-direction: column;
    }

    .noticia-mid .logo-news {
        display: block;
        margin: 0 auto;
        margin-bottom: 2rem;
    }
}

.hero-subtitle {
    display: inline;
    white-space: nowrap;
}

.typing-text {
    display: inline;
    min-width: 120px;
    color: #16b37f;
    font-weight: bold;
}

.typing-cursor {
    display: inline;
    margin-left: 2px;
    animation: blink 0.7s infinite;
    font-weight: normal;
}

@keyframes blink {
    0%,
    50% {
        opacity: 1;
    }
    51%,
    100% {
        opacity: 0;
    }
}

/* Para dispositivos móviles, permite que se rompa la línea si es necesario */
@media (max-width: 768px) {
    .hero-subtitle {
        white-space: normal;
    }
}

.noticias-left-content img {
    width: 500px;
    height: 180px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 20px;
}

.noticias-right img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 20px;
}

.project2-right img {
    width: 60%;
    height: 320px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 20px;
}
.alert-custom {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.alert-success {
    background: #e9f9ef;
    color: #1e7e34;
    border: 1px solid #b7ebc6;
}

.alert-error {
    background: #fdeaea;
    color: #b4232c;
    border: 1px solid #f5b5b8;
}

.alert-custom ul {
    margin: 0;
    padding-left: 18px;
}
.contact-section {
    background-attachment: fixed;
}
#backToTop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    z-index: 999;
}

#backToTop.show {
    opacity: 1;
    pointer-events: auto;
}

#backToTop:hover {
    transform: translateY(-3px);
}
#dentidesk_news,
#vetdesk_news,
#medical_call_news,
#academico_news {
    scroll-margin-top: 100px;
}
.container_map {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    width: 100%;
    background-color: #fff;
    margin-bottom: 4rem;
}
.container_map h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.map-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: #f3f3f36b;
    border-radius: 15px;
    padding: 30px;
}
#america-map {
    width: 100%;
    height: auto;
    display: block;
}
#america-map #cl,
#america-map #us {
    cursor: pointer;
    transition: all 0.3s ease;
}
.team-tooltip {
    position: absolute;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    padding: 25px;
    min-width: 320px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10;
    max-width: 750px;
    width: 100%;
}

.team-tooltip.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.tooltip-header {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 3px solid #667eea;
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #fafafa;
    flex-direction: column;
    align-items: flex-start;
}

.team-member:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}
.team-members {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.member-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    flex-shrink: 0;
}

.member-info {
    flex: 1;
}

.member-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
    font-size: 1.05em;
}

.member-position {
    color: #666;
    font-size: 0.88em;
    margin-bottom: 10px;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0077b5;
    color: white;
    padding: 7px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85em;
    transition: all 0.3s ease;
    font-weight: 500;
}

.linkedin-btn:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.linkedin-icon {
    width: 15px;
    height: 15px;
}
.instructions {
    text-align: center;
    color: #666;
    margin-top: 25px;
    font-style: italic;
    font-size: 1.05em;
}
.legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #333;
}
.legend-color {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.nosotros-equipo {
    width: 100%;
    padding: 0;
    margin: 0;
}
.section-final-nosotros{
    background-color: #fff !important;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 1.8em;
    }

    .map-container {
        padding: 15px;
    }
    .team-tooltip {
        max-width: 95%;
        padding: 15px;
    }

    .team-members {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .team-member {
        padding: 8px;
        gap: 8px;
    }

    .member-photo {
        width: 38px;
        height: 38px;
        border-width: 2px;
    }

    .member-name {
        font-size: 0.9em;
    }

    .member-position {
        font-size: 0.75em;
    }

    .linkedin-btn {
        font-size: 0.7em;
        padding: 5px 8px;
    }
    .btn-academico {
        display: none !important;
    }
}
.beneficios-clave-academico{
  display: flex;
  margin-top: 2rem;
  gap: 1rem;
}
.bca-elemento img{
  width: 2.5rem;
  height: auto;
  margin: 0;
}
.bca-elemento{
  display: flex;
  gap: .5rem;
  align-items: center;
}
.btn-academico {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: #ef7f37;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    z-index: 9999;
}

.btn-academico:hover {
    background-color: #0077b5;
    transform: translateY(-3px) scale(1.05);
}

.btn-academico.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}
.timeline-container img:hover{
    scale: 105%;
    transition: 1s;
}
.texto_pequeño{
    font-size: .8rem;
}