@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');


/* Variables ***********************************************************/
:root {
  --color-brand: #00ADEE;
  --color-base-text: #444447;
}

/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-base-text);
  background-color: #ffffff;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}


button,
input,
select,
textarea {
  font-family: inherit;
}


/* Tipografía ************************************************************/

h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  /* bold */
  font-size: 50px;
  line-height: 61px;
  color: var(--color-base-text);
  margin: 0;
}

@media (max-width: 600px) {
  h1 {
    font-size: 40px;
    line-height: 50px;
  }
}


p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-base-text);
  margin: 0 0 1em 0;
}





/* Includes genéricos ************************************************************/


/* Header ************************************************************/
.HEADER {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.HEADER.scrolled {
  border-bottom: 1px solid #DFDFE4;
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
}

.HEADER .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}

.HEADER .container .logo {
  border: none;
}

.logo a {
  display: block;
  text-decoration: none;
  border: none;
}

.HEADER .container .nav {
  display: flex;
  gap: 1rem;
}

.HEADER .container .links {
  display: flex;
  gap: 1rem;
}

/* Header 📱 **************************/

.HEADER .container .hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .HEADER .container .nav {
    display: none;
  }

  .HEADER .container .hamburger {
    display: block;
  }
}


@media (max-width: 800px) {
  .HEADER .container .links {
    display: none;
  }
}


/* Mobile-Menu **********************************************************/

.MOBILE-MENU {
  position: fixed;
  inset: 0;
  background-color: #ffffff;
  z-index: 9999;
  display: none;
  padding: 2rem 1rem;
  flex-direction: column;
  justify-content: space-between;
}

.MOBILE-MENU.active {
  display: flex;
}

.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu__logo {
  height: 40px;
}

.mobile-menu__logo img {
  height: 100%;
  width: auto;
}

.mobile-menu__close {
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: (var(--color-base-text));
}

.mobile-menu__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 0 1rem;
}

.mobile-menu__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu__nav li {

  border-bottom: 1px solid rgb(229, 229, 229);
}

.mobile-menu__nav a {
  display: block;
  padding: 1rem 0;
  text-align: center;
  color: (var(--color-base-text));
  text-decoration: none;
  font-size: 1.2rem;
}

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

body.menu-open {
  overflow: hidden;
}


/* Main-Footer **********************************************************/
.MAIN-FOOTER {
  background-color: #f9f9f9;
  padding: 3rem 0;
}

.MAIN-FOOTER .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.MAIN-FOOTER .container .grid .column {
  border: none;
}

.MAIN-FOOTER .container .grid .column.wide {
  grid-column: span 1;
}

.MAIN-FOOTER .container .grid .column.wide p {
  margin: 5px 0 0 0;
  color: var(--color-base-text);
  font-size: 14px;
}

.MAIN-FOOTER .container .grid .column .title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-brand);
}

.MAIN-FOOTER .container .grid .column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.MAIN-FOOTER .container .grid .column ul li {
  margin-bottom: 0.5rem;
  font-size: 14px;
  font-weight: 500;
}

.MAIN-FOOTER .container .grid .column ul li a {
  text-decoration: none;
  color: var(--color-base-text);
  font-size: 14px;
  font-weight: 500;
}

.MAIN-FOOTER .container .grid .column ul li a:hover {
  text-decoration: none;
  color: #8F8F92;
}

.MAIN-FOOTER .social-media {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  display: block;
  position: relative;
  width: 40px;
  height: 40px;
  text-decoration: none;
}

.social-btn img {
  width: 100%;
  height: 100%;
  display: block;
  transition: opacity 0.1s ease;
}

.social-btn .img-def {
  position: relative;
  z-index: 1;
}

.social-btn .img-hov {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
}

.social-btn:hover .img-hov {
  opacity: 1;
}

.social-btn:hover .img-def {
  opacity: 0;
}

/* Main-footer 📱 **************************/

@media (max-width: 768px) {
  .MAIN-FOOTER .container .grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .MAIN-FOOTER .container .grid .column.wide {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .MAIN-FOOTER .container .grid {
    grid-template-columns: 1fr;
  }

  .MAIN-FOOTER .container .grid .column.wide {
    grid-column: span 1;
  }
}



/* Sub-Footer **********************************************************/

.SUB-FOOTER {
  background-color: #EDEDED;
  padding: 2rem 0;
}

.SUB-FOOTER .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

.SUB-FOOTER .container .left {
  flex: 1;
  text-align: left;
  max-width: 750px;
}

.SUB-FOOTER .container .left .copyright {
  font-weight: 600;
  font-size: 14px;
  margin: 0;
}

.SUB-FOOTER .container .left .iso-text {
  font-weight: 500;
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
}

.SUB-FOOTER .container .left .legal-text {
  font-size: 11px;
  line-height: 1.4;
  margin: 5px 0 0 0;
}

.SUB-FOOTER .container .right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.SUB-FOOTER .container .right .logo-iram {
  width: 175px;
  height: 70px;
}

.SUB-FOOTER .container .right img {
  width: 100%;
  height: 100%;
  display: block;
  mix-blend-mode: multiply;
}

.SUB-FOOTER .container .right .logo-AAIP {
  width: 166px;
  height: 60px;
}

.SUB-FOOTER .container .right img {
  width: 100%;
  height: 100%;
  display: block;
  mix-blend-mode: multiply;
}

/* Sub-footer 📱 **************************/

@media (max-width: 900px) {
  .SUB-FOOTER .container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .SUB-FOOTER .container .left {
    text-align: center;
    max-width: 100%;
  }

  .SUB-FOOTER .container .left .legal-text {
    text-align: center;
  }

  .SUB-FOOTER .container .right {
    justify-content: center;
    flex-wrap: wrap;
  }
}


/* Carousel **********************************************************/

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 40px 0 20px 0;
  position: relative;
}

.carousel-wrapper .track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 4rem;
  animation: scroll-infinite 40s linear infinite;
}

.carousel-wrapper .track .pharma-logo {
  height: 50px;
  width: auto;
  display: block;
  transition: filter 0.3s ease;
  flex-shrink: 0;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

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

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

/* Carousel 📱 **************************/

@media (max-width: 768px) {
  .carousel-wrapper .track {
    gap: 2rem;
    animation-duration: 25s;
  }

  .carousel-wrapper .track .pharma-logo {
    height: 40px;
  }
}

.carousel-wrapper .track:hover {
  animation-play-state: paused;
}


/* Popup Login Transfer *****************************************************/

.lt-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lt-overlay.active {
  display: flex;
  opacity: 1;
}

.lt-card {
  background-color: #fff;
  width: 90%;
  max-width: 400px;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.lt-overlay.active .lt-card {
  transform: translateY(0);
}

.lt-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  line-height: 1;
}

.lt-close-btn:hover {
  color: #333;
}

.lt-title {
  margin: 0 0 25px 0;
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  color: #333;
}

.lt-input-group {
  margin-bottom: 20px;
}

.lt-input-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 500;
}

.lt-input-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #BFBFBF;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 400;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.3s;
  background-color: #ffffff;
}

.lt-input-group input:focus {
  border-color: var(--color-brand);
}


.lt-input-group input::placeholder {
  color: #cacaca;
  opacity: 1;
}

.lt-input-group input[type="number"]::-webkit-outer-spin-button,
.lt-input-group input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.lt-input-group input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.lt-form .main-button {
  width: 100%;
  margin-top: 25px;
  justify-content: center;
}

/* Popup Login Transfer 📱 *******************/
@media (max-width: 480px) {
  .lt-card {
    padding: 30px 20px;
    width: 85%;
  }
}