:root {
  --primary-clr: #ff6700;
  --secondary-clr: #ece1f4;
  --cc-btn-primary-bg: #ff6700;
  --cc-block-text: black;
  --cc-cookie-category-block-bg: #ece1f4;
}
*,
*:before,
*:after {
  box-sizing: border-box;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body,
html,
p,
h1,
h2,
h3 {
  margin: 0;
  padding: 0;
}
body {
  font-family: "roc-grotesk", sans-serif;
  background-color: var(--secondary-clr);
  overflow-x: hidden;
}
a {
  text-decoration: none;
}
h1 {
  color: white;
  font-size: clamp(50px, 3.958vw, 76px);
  font-weight: 500;
  padding-left: 5vw;
  /* text-align: center; */
}
h2 {
  font-size: clamp(30px, 4.656vw, 90px);
  font-weight: 600;
}
h3 {
  font-size: clamp(20px, 2.069vw, 40px);
}
/* UTILITIES */
.is-text-center {
  text-align: center;
}
.fw-medium {
  font-weight: 500;
}
.fw-bold {
  font-weight: 700;
}
.text-white {
  color: white;
}
.has-rounded-borders {
  border-radius: 27px;
}
is-overflow-hidden {
  overflow: hidden;
}
.flex {
  display: flex;
}
.mt-1 {
  margin-top: 15vh !important;
}
.uppercase {
  text-transform: uppercase;
}
.hide-on-desktop {
  display: none;
}

/* LAYOUT */
main {
  padding-inline: 6vh;
}
.container {
  max-width: 1600px;
  margin: 3rem auto;
}
.p-2 {
  padding: 2rem;
}
.mb-1 {
  margin-bottom: 5vh;
}
/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.logo {
  max-width: 150px;
  margin-right: auto;
  padding-right: 1rem;
}
.header-text {
  max-width: 320px;
  display: flex;
  align-items: flex-start;
  padding-right: 2rem;
}
.header-text span:nth-child(1) {
  content: "*";
  line-height: 0;
  font-family: monospace;
  display: inline-block;
  font-size: 5rem;
  color: inherit;
}
.rw-words {
  display: inline;
  text-indent: 10px;
}
.rw-words span {
  position: absolute;
  opacity: 0;
  overflow: hidden;
  width: 100%;
  max-width: 59%;
  font-weight: 300;
  text-align: left;
}
.rw-words span {
  animation: rotateWordsFirst 15s linear infinite 0s;
}

.rw-words span:nth-child(2) {
  animation-delay: 3s;
}
.rw-words span:nth-child(3) {
  animation-delay: 6s;
}
.rw-words span:nth-child(4) {
  animation-delay: 9s;
}
.rw-words span:nth-child(5) {
  animation-delay: 12s;
}
.politicas {
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1300px;
  line-height: 1.5em;
}
.politicas p {
  padding-bottom: 1em;
}
.politicas h2 {
  padding-bottom: 1rem;
  font-size: 24px;
  font-weight: 600;
  padding-top: 2rem;
}
.header-politicas {
  margin-top: 2rem;
  margin-bottom: 2rem;
  align-items: center;
}
#marcas-section {
  width: 100%;
  margin-top: 2rem !important;
}
.marcas-wrapper {
  display: grid;
  grid-template-columns: repeat(3, auto);
  background-color: white;
  padding: 4rem;
  gap: 30px;
  justify-items: center;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  justify-content: space-evenly;
}
@media screen and (max-width: 1130px) {
  .marcas {
    width: 100%;
    height: 50px;
    flex: 1;
  }
}
@media screen and (max-width: 800px) {
  .marcas-wrapper {
    padding: 2.5rem;
  }
}
@media screen and (max-width: 547px) {
  .marcas-wrapper {
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
  }
  .marcas {
    width: 70%;
    height: initial;
    flex: 1;
  }
}

@keyframes rotateWordsFirst {
  0% {
    opacity: 1;
    animation-timing-function: ease-in;
    height: 0px;
  }
  8% {
    opacity: 1;
    height: 2em;
  }
  19% {
    opacity: 1;
    height: 2em;
  }
  25% {
    opacity: 0;
    height: 2em;
  }
  100% {
    opacity: 0;
  }
}

@media screen and (max-width: 865px) {
  .rw-words {
    display: block;
    text-indent: 0px;
    font-size: 0.8em;
  }
  .rw-words span {
    max-width: 70%;
    line-height: 1em;
  }
  h1 {
    align-self: center;
    padding-left: 0;
  }

  @keyframes rotateWordsFirst {
    0% {
      opacity: 1;
      animation-timing-function: ease-in;
      height: 0px;
    }
    8% {
      opacity: 1;
      height: 3em;
    }
    19% {
      opacity: 1;
      height: 3em;
    }
    25% {
      opacity: 0;
      height: 3em;
    }
    100% {
      opacity: 0;
    }
  }
  .politicas {
    padding: 0rem;
  }
}

.asterisco {
  width: 3rem;
  padding-right: 1.3rem;
}

.cta-btn {
  display: block;
  padding: 0.5rem 1rem;
  background-color: white;
  color: black;
  border-radius: 50px;
  flex-shrink: 0;
  font-size: 14px;
}

/* SECTIONS */
#hero-section {
  background-image: url("/images/hero-background-img.jpg");
  background-position: center;
  background-size: cover;
  margin-top: 3rem;
  display: grid;
  flex-direction: column;
  height: calc(100vh - 6rem);
}
#hero-section h2 {
  align-self: center;
}
/* ---mision section */
#mision-section,
#valores-section,
.negocio-wrapper {
  display: flex;
  justify-content: space-between;
}
.slide-btn-group {
  width: 29%;
}
.slide-btn {
  background-color: white;
  color: black;
  margin-bottom: 1rem;
  font-size: clamp(18px, 1.655vw, 32px);
  padding: 0.5rem 2rem;
  font-weight: 500;
  cursor: pointer;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}
.slide-btn:hover {
  background-color: #ff670057;
  color: white;
}
.slide-btn.active {
  background-color: var(--primary-clr);
  color: white;
}
.slides {
  width: 69%;
  background-color: white;
}
.slideM,
.slide-negocio {
  opacity: 0;
  display: none;
  transform: translateY(-100%);
  transition: all 2ms ease-in-out;
}
.slideM.active,
.slide-negocio.active {
  opacity: 1;
  display: block;
  transform: translateY(0);
}
.slide-data {
  display: flex;
  align-items: flex-end;
  gap: 30px;
}
.mision-slides .slideM .slide-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.mision-slides .slideM .slide-data > * {
  width: 100%;
}
.slide-image-wrapper {
  position: relative;
  grid-row: 1/3;
}
.slide-img {
  width: 100%;
}
.slide-image-loop {
  position: absolute;
  top: -3.6%;
  left: -5.5%;
  width: 32%;
}
.slide-data > * {
  flex: 1;
  width: 50%;
}
.slide-text {
  font-size: clamp(13px, 1.397vw, 27px);
  line-height: 1.1em;
  font-weight: 400;
}
.pills {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  font-size: clamp(11px, 1.035vw, 20px);
  gap: 15px;
  grid-row: 2;
}
.pills p {
  background-color: var(--secondary-clr);
  padding: 6px 10px;
  color: var(--primary-clr);
  border-radius: 10px;
  text-wrap: nowrap;
  font-weight: 600;
}
@media screen and (max-width: 855px) {
  #mision-section {
    flex-direction: column;
  }
  #mision-section.container {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  #mision-section .slide-data {
    align-items: flex-start;
    gap: 6px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  #mision-section .slide-btn-group,
  #mision-section .slides,
  #mision-section .slide-data > * {
    width: 100%;
  }
  .asterisco {
    width: 6vw !important;
  }
  h2 {
    margin-bottom: 1rem;
  }
}
@media screen and (max-width: 550px) {
  [data-slide="1"] .pills {
    grid-column-start: 1;
    grid-column-end: -1;
  }
  [data-slide="1"] .slide-image-wrapper {
    grid-row: auto;
  }
  #mision-section [data-slide="1"] .slide-data {
    grid-template-columns: 1.5fr 1fr;
  }
}
/* -- valores */
#valores-section {
  justify-content: space-between;
  gap: 0px;
  margin-top: 2rem !important;
}
.valores-bloque {
  padding: 5vh 2rem;
  width: 70%;
  background-color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.valores-bloque-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.valores-bloque-text {
  width: 30%;
  padding: 2rem;
  padding-right: 0;
  font-size: clamp(24px, 1.862vw, 36px);
  padding-top: 10vh;
  position: relative;
}
.valor:not(:first-of-type) {
  padding-top: 3.5rem;
}
.valor {
  font-size: clamp(11px, 0.983vw, 20px);
  line-height: 1.2em;
  max-width: 350px;
}
.valor h3 {
  margin-bottom: 1.6rem;
  line-height: 1em;
}
.valores-img {
  width: 130%;
  position: absolute;
  left: -63px;
  top: 78%;
  z-index: -1;
}
@media screen and (max-width: 1375px) {
  .valores-img {
    top: 88%;
  }
}

@media screen and (max-width: 1375px) and (-webkit-min-device-pixel-ratio: 1.5) {
  .valores-img {
    top: 90%;
    width: 139%;
  }
}
@media screen and (max-width: 1016px) OR (-webkit-device-pixel-ratio: 2) {
  .valores-img {
    top: 90%;
    width: 139%;
  }
}
@media screen and (max-width: 922px) {
  .valores-img {
    top: 90%;
    width: 150%;
  }
}

@media screen and (max-width: 855px) {
  #valores-section {
    flex-direction: column;
  }
  #valores-section > * {
    width: 100%;
  }
  #valores-section.container {
    margin-top: 2rem !important;
    margin-bottom: 0;
  }
  .valores-img {
    position: relative;
    padding-top: 5vh;
    max-width: 95vw;
    margin: 0 auto;
  }
  .valores-bloque {
    padding: 2rem;
  }
  .valores-bloque-left h2 {
    font-size: 6vw;
  }
  .valores-bloque-text {
    padding: 10vh 20px 0px;
  }
  .valor h3 {
    margin-bottom: 0.5rem;
  }
  .valor:not(:first-of-type) {
    padding-top: 2rem;
  }
}
/* --negocio */
#negocio-section {
  margin-top: 4rem;
}
.negocio-wrapper {
  margin-top: 3rem;
}
.slides-neg {
  width: 69%;
}
.slide-negocio {
  background-color: white;
  border-radius: 20px;
  padding: 2rem;
  z-index: 20;
  position: relative;
}
.slide-negocio h3 {
  margin-bottom: 2rem;
}
.mobile-btn {
  display: none;
}
.negocio-form-wrapper {
  display: grid;
  grid-template-rows: auto 80px auto;
}
#loop-2 {
  height: calc(100% + 24rem);
  padding-left: 16%;
  z-index: 10;
  padding-bottom: 64px;
}
@media screen and (max-width: 855px) {
  #negocio-section,
  .negocio-wrapper {
    margin-top: 2rem;
    margin-bottom: 4rem;
  }
  .negocio-wrapper {
    flex-direction: column;
  }
  .negocio-wrapper .slide-btn-group {
    display: none;
  }
  .negocio-wrapper > * {
    width: 100%;
  }
  .negocio-slide {
    margin-bottom: 2rem;
  }
  .negocio-slide-data {
    flex-direction: column;
  }
  .negocio-slide-data > * {
    width: 100%;
  }
  .mobile-btn {
    display: block;
  }
  .slide-negocio {
    margin-bottom: 2rem;
  }
  .negocio-form-wrapper {
    display: block;
  }
}
@media screen and (max-width: 550px) {
  .slide-negocio.active {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    padding-left: 1rem;
  }
  .slide-negocio.active h3 {
    writing-mode: tb-rl;
    transform: rotate(-180deg);
    font-size: 2rem;
  }
}
/*COMPONENTS*/
/* form */
#form-section {
  width: 100%;
  position: relative;
}
.form-text {
  font-size: 19px;
}
form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  row-gap: 25px;
  background-color: white;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group.inline {
  display: block;
}
.full-width {
  grid-column: span 2;
  text-align: left;
  justify-content: flex-start;
}
input {
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid black;
  padding: 10px 5px;
  font-size: 1.3em;
  font-weight: bold;
}
select {
  background-color: transparent;
  padding: 10px 5px;

  border: 0;
  appearance: none;
  /* safari */
  -webkit-appearance: none;
  /* other styles for aesthetics */
  appearance: none;
  /*  safari  */
  -webkit-appearance: none;
  /*  other styles for aesthetics */
  width: 100%;
}
.custom-select {
  width: 100%;
  border: 1px solid black;
  border-radius: 20px;
  margin-top: 13px;
  max-width: 300;
  position: relative;
  background: white
    url("data:image/svg+xml;utf8,<svg viewBox='0 0 140 140' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><g><path d='m121.3,34.6c-1.6-1.6-4.2-1.6-5.8,0l-51,51.1-51.1-51.1c-1.6-1.6-4.2-1.6-5.8,0-1.6,1.6-1.6,4.2 0,5.8l53.9,53.9c0.8,0.8 1.8,1.2 2.9,1.2 1,0 2.1-0.4 2.9-1.2l53.9-53.9c1.7-1.6 1.7-4.2 0.1-5.8z' fill='black'/></g></svg>")
    no-repeat;
  background-position: right 15px top 51%;
  background-size: 18px;
}
select:focus {
  border-radius: 20px;
}
option {
  font-family: "roc-grotesk", sans-serif;
}
textarea {
  background-color: transparent;
  padding: 15px;
  border-radius: 20px;
  font-size: 1.3em;
  font-family: inherit;
}
textarea::placeholder {
  font-family: "roc-grotesk", sans-serif;
  color: black;
  font-size: 0.9em;
}
::-webkit-input-placeholder {
  font-family: "roc-grotesk", sans-serif;
  color: black;
  font-size: 0.9em;
}
::-moz-placeholder {
  font-family: "roc-grotesk", sans-serif;
  color: black;
  font-size: 0.9em;
}
:-ms-input-placeholder {
  font-family: "roc-grotesk", sans-serif;
  color: black;
  font-size: 0.9em;
}
::placeholder {
  font-family: "roc-grotesk", sans-serif;
  color: black;
  font-size: 0.9em;
}

.label {
  cursor: pointer;
}
.btn-submit {
  border: 1px solid black;
  border-radius: 20px;
  background-color: white;
  justify-self: flex-start;
  padding: 0.5rem 1rem;
  cursor: pointer;
}
.btn-submit:hover {
  background-color: black;
  color: white;
}
.contacto-h2-mobile {
  display: none;
}
.loop-contacto-mobile {
  position: absolute;
  width: 124px;
  top: -80px;
  left: 50px;
}

@media screen and (max-width: 855px) {
  header {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  main {
    padding-inline: 1rem;
  }
  .contacto-h2-mobile {
    display: block;
    font-size: 8vw;
    text-align: center;
  }
  .cta-btn {
    grid-row: 1;
    grid-column: -1;
  }
  form {
    display: flex;
    flex-direction: column;
  }
  label,
  .label {
    font-size: 13px;
  }
  .contacto-title {
    display: none;
  }
  .hide-on-mobile {
    display: none;
  }
  .hide-on-desktop {
    display: block;
  }
}
@media screen and (max-width: 650px) {
  .header-text {
    font-size: 12px;
  }
  div.header-text {
    padding-right: 10px;
  }
  .asterisco {
    width: 2.1rem;
    padding-right: 0.8rem;
  }
}
/* FOOTER */
footer {
  padding: 2rem;
  background-color: white;
}
footer.container {
  margin-bottom: 0;
}
.footer-wrapper {
  width: 100%;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-links {
  display: flex;
  /* flex-shrink: 0; */
}
.footer-links a {
  font-size: 12px;
  font-weight: 300;
  padding-right: 14px;
  color: black;
}
.logo-footer {
  width: 118px;
  padding-right: 20px;
}

.footer-logos {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.footer-logos img {
  max-width: 172px;
}
.footer-logos img.logos-right {
  max-width: 500px;
  width: 100%;
}
.linkedin {
  max-width: 100px;
}
.low-content-wrapper {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
}
@media screen and (max-width: 923px) {
  .footer-wrapper {
    flex-direction: column;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
  }
  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    width: 100%;
  }

  .footer-links a {
    padding-right: 0px;
  }
  .footer-logos {
    margin-left: unset;
    margin-right: auto;
    flex-wrap: wrap;
  }
  .footer-logos img {
    width: unset;
  }
}

@media screen and (max-width: 555px) {
}
/* @media screen and (max-width: 650px) { 
    .footer-wrapper  {
       display: grid;
       grid-template-columns: 1fr 1fr;
    }
} */
.transparencia-table caption {
  color: var(--primary-clr);
  font-weight: bold;
  text-align: left;
  margin-bottom: 2rem;
  font-size: 1.4rem;
  margin-top: 4rem;
}
.transparencia-table th {
  text-align: left;
  padding-right: 15px;
  background-color: var(--primary-clr);
  color: white;
  padding-left: 15px;
  line-height: 1.2em;
  padding-top: 8px;
  padding-bottom: 8px;
  font-weight: 500;
}
.transparencia-table td {
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 16px;
  padding: 10px 15px;
  background-color: white;
}
@media screen and (max-width: 764px) {
  .transparencia-table th {
    display: none;
  }
  .transparencia-table caption {
    margin-bottom: 1rem;
    margin-top: 1rem;
  }
  .transparencia-table td {
    display: block;
  }
  .transparencia-table td::before {
    content: attr(data-cell);
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--primary-clr);
  }
}
.gracias {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.gracias-text {
  padding: 5vw;
}
.gracias-text h2 {
  line-height: 1em;
}
.gracias-text,
.gracias-img {
  width: 50%;
}
.gracias-img {
  background-image: url("images/gracias-loop.png");
  background-size: 90%;
  height: 100vh;
  background-repeat: no-repeat;
  background-position-x: 64px;
}
.btn-gracias {
  background-color: white;
  color: black;
  padding: 0.5rem 1rem;
  max-width: 274px;
  border-radius: 50px;
  display: block;
  margin-top: 1.5rem;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  padding-left: 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.2s linear;
  color: black;
}
.btn-gracias:hover {
  background-color: black;
  color: white;
}

@media screen and (max-width: 643px) {
  .gracias {
    flex-direction: column-reverse;
    justify-content: flex-end;
  }
  .gracias-img,
  .gracias-text {
    width: 100%;
  }
  .gracias-img {
    background-position-x: 100%;
    background-position-y: 0px;
    background-size: 294px;
    height: 300px;
  }
}
.pristine-error {
  color: red;
  font-size: smaller;
  padding-top: 0.5em;
}
/* TICKER */
.ticker-wrap {
  width: 100%;
  height: 52px;
  margin: 0 auto;
  overflow: hidden;
  white-space: nowrap;
  background-color: white;
  border-top: 2px solid black;
  border-bottom: 2px solid black;
  z-index: 100;
  position: fixed;
  bottom: 0px;
}

.ticker {
  display: inline-block;
  margin-top: 16px;
  animation: marquee 90s linear infinite;
  cursor: pointer;
}
.item-collection-1 {
  position: relative;
  left: 0%;
  animation: swap 90s linear infinite;
}

.item {
  display: inline-block;
  padding: 0 0.5rem;
  padding-left: 0;
  font-size: 16px;
  color: black;
  font-weight: 400;
}
.badge {
  padding: 4px 10px;
  border-radius: 50px;
  background-color: #000;
  color: #fff;
}

/* Transition */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes swap {
  0%,
  50% {
    left: 0%;
  }
  50.01%,
  100% {
    left: 100%;
  }
}

@media screen and (max-width: 865px) {
  .ticker-wrap {
    display: none;
  }
}
/* NOTIFICATION */
.close-dialog {
  width: 20px;
  height: 20px;
  position: absolute;
  right: 1rem;
  top: 7px;
  cursor: pointer;
}

.notification-wrapper {
  display: none;
  background-color: white;
  color: black;
  border: 2px solid black;
  width: 255px;
  position: fixed;
  bottom: 2rem;
  left: 1rem;
  z-index: 99;
  padding: 10px;
  font-size: 16px;
}
#close-btn {
  width: 20px;
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  display: none;
}
.news-btn {
  width: 124px;
  padding: 4px 10px;
  display: inline-block;
  color: white;
  background-color: black;
  border-radius: 50px;
  margin-bottom: 1rem !important;
}
.news-btn a {
  color: white;
}
.notification-title {
  text-transform: uppercase;
  font-weight: bold;
  padding-top: 5px;
}
.notification-text {
  font-size: 15px;
  padding-top: 30px;
  margin-bottom: 1rem !important;
}
.notification-link {
  font-size: 0.7em;
  cursor: pointer;
}

@media screen and (max-width: 865px) {
  .notification-wrapper {
    display: block;
    position: fixed;
  }
}
@keyframes blink {
  0% {
    opacity: 0;
  }
  49% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
/* POPUP */
.popup-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo negro semitransparente */
  z-index: 90; /* Asegúrate de que esté detrás del popup */
  display: none; /* Oculto por defecto */
}

.popup-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  transition: all 0.3s ease;
  animation: popup-open 0.3s ease forwards;
}

.popup-container.minimized {
  top: auto;
  left: auto;
  bottom: 20px;
  right: 20px;
  transform: none;
  width: 305px;
  height: 105px;
  /* overflow: hidden; */
  animation: popup-minimize 0.3s ease forwards;
}
.popup-backdrop,
.popup-container {
  display: none; /* Manténlo oculto inicialmente */
}

@keyframes popup-open {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes popup-minimize {
  from {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  to {
    opacity: 0.98;
    transform: none;
  }
}

.popup-content {
  background-color: white;
  padding: 40px;
  border-radius: 31px;
  max-width: 894px;
  margin: 20px;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.popup-title {
  font-size: 29px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.5rem;
  text-transform: uppercase;
  font-family: "roc-grotesk", sans-serif;
  cursor: pointer; /* Añadido para indicar que es clicable */
}

.popup-light-title {
  font-size: 22px;
  font-weight: 400 !important;
}

.courses-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.course-box {
  width: 394px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--secondary-clr);
  font-size: clamp(19px, 1.146vw, 22px);
  border-radius: 24px;
  padding: 2rem;
}

.course-box p {
  margin-bottom: auto;
  margin-top: auto;
}

.course-btn {
  background-color: var(--primary-clr);
  font-size: 18px;
  align-self: flex-end;
  border: 0;
  border-radius: 50px;
  padding: 5px 20px;
  margin: 0 auto;
  margin-top: 1rem;
  align-self: bottom;
  color: black;
}

.course-btn:hover {
  background-color: #ff670057;
}

.min-popup-btn {
  border: 0;
  background: transparent;
  font-size: 18px;
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
}

.popup-container.minimized .popup-content {
  margin: 0;
  border-radius: 23px;
  padding: 10px;
}

.popup-container.minimized .courses-container,
.popup-container.minimized .plazas-limitadas {
  display: none;
}

.popup-container.minimized .min-popup-btn {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(0, 0);
}

.popup-container.minimized .popup-title {
  display: block;
  font-size: 25px;
  text-align: left;
  margin-bottom: 0;
  cursor: pointer; /* Añadido para indicar que es clicable */
}

.min-popup-btn::before {
  content: "✖"; /* Icono de cerrar */
}

.popup-container.minimized .min-popup-btn::before {
  content: url("/images/chevron-up.svg"); /* Chevron hacia arriba */
}
.popup-container.minimized .min-popup-btn {
  top: 9px;
  right: 9px;
}

@media screen and (max-width: 938px) {
  .courses-container {
    grid-template-columns: 1fr;
  }
  .popup-content {
    width: 307px;
    margin: 0;
    padding: 21px;
    padding-inline: 10px;
  }
  .course-box {
    width: 100%;
    padding: 1rem;
    font-size: 18px;
  }
  .min-popup-btn {
    top: 9px;
    right: 9px;
  }
  .popup-title {
    padding-top: 10px;
  }
}
@media screen and (max-width: 300px) {
  .popup-content {
    width: 98%;
  }
}

/* NOTE: ESTILOS BOTÓN COOKIES */
#cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #fd6800;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
}

#cookie-settings-btn:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15), 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.cookie-icon {
    width: 20px;
    height: 20px;
}