/*
Metodología BEM: https://en.bem.info/methodology/quick-start/
Generador de animaciones: https://animista.net/
Efectos de hover para botones y enlaces: https://ianlunn.github.io/Hover/
Loaders con CSS: https://css-loaders.com/
Sombras con CSS: https://getcssscan.com/css-box-shadow-examples
Frontend Code con ideas geniales: https://codepen.io/
==============================
  * CSS TABLE CONTENT *  
==============================
1. GOOGLE FONT
2. VARIABLES CSS
3. BASE
4. REUSABLE CSS CLASSES
5. HEADER & NAV
6. BREAKPOINTS
==============================
  * END TABLE CONTENT *  
==============================
*/

/* ============= VARIABLES CSS ============= */

:root {
  color-scheme: light dark;

  --header-height: 60px;

  /* Colors */
  --primary-color: light-dark(#111, #ffffffcc);
  --bg-color-section1: light-dark(#eee, #111);
  --bg-color-section2: light-dark(#fafafa, #6a6a6a);
  --bg-color-buttons: light-dark(#e0e0e0, #6a6a6a);

  /* Typografy */
  --normal-font-size: 16px;
  --small-font-size: 12px;

  /* Wight */
  --font-semi-bold: 600;

  /* Margin */
  --mr-2: 16px;
  --mr-3: 20px;
  --mr-4: 26px;

  /* z index */
  --z-fixed: 1;
  --z-modal: 2;

  /* Shadows */
  --box-shadow: 0px 10px 100px #0000001a;
}

/* ============= BASE ============= */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  *,
  *::before,
  *::after {
    box-sizing: inherit;
  }
  body {
    font-family: "Poppins", sans-serif;
    font-size: var(--normal-font-size);
    margin: 0;
    color: var(--primary-color);
  }
  ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  a {
    text-decoration: none;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  /* darkmode  */
  &:has([name="color-scheme"]:checked) {
    color-scheme: dark;
  }
  &:has([name="color-scheme"]) {
    color-scheme: light;
  }
}

/* ============= REUSABLE CLASSES ============= */
.section {
  padding: 4rem 0;
  .section__title {
    text-align: center;
    margin: var(--mr-3) 0;
  }
}

.grid--container {
  max-width: 1024px;
  display: grid;
  margin: 0 auto;
  padding: 0 var(--mr-3);
}

.flex--container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 1.5rem 4rem;
  border: none;
  outline: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  color: var(--bg-color-section2);
  background-color: var(--primary-color);

  &:hover {
    translate: 0px -4px;
    box-shadow: 0px 3px 10px #ee991a;
  }
}

.btn--primary {
  color: var(--primary-color);
  background-color: var(--bg-color-buttons);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--bg-color-buttons);
  border-radius: 4px;
}

/*===== Loader =====*/
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 105;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s, visibility 0.4s;
  .loader__logo {
    color: black;
    width: 15rem;
    height: 15rem;
    animation: jump 1.1s infinite linear;
  }
}

.loader--hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes jump {
  0%,
  100% {
    transform: translateY(0) scaleY(1);
  }
  50% {
    transform: translateY(-10%) scaleY(1.05);
  }
}

/* ============= Header & NavBar ============= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  align-content: center;
  background-color: transparent;
  z-index: var(--z-modal);
  animation: animation-bar linear both;
  animation-timeline: scroll(root block);
  animation-range: 0 200px;

  .navbar {
    justify-content: space-between;

    .navbar__logo {
      column-gap: 0.25rem;
      font-weight: var(--font-semi-bold);
      color: var(--primary-color);
    }

    .navbar__menu {
      position: fixed;
      top: -600%;
      left: 0;
      width: 100%;
      border-radius: 0 0 12px 12px;
      background-color: var(--bg-color-section2);
      box-shadow: 0px 1px 9px 2px #00000024;
      padding: 2rem 0;
      transition: all 0.6s;
      z-index: var(--z-modal);

      &:target {
        top: 0;
      }

      .navbar__list {
        flex-direction: column;
        gap: 20px;

        .navbar__item {
          .navbar__link {
            color: var(--primary-color);
            font-size: 1.1rem;
            font-weight: var(--font-semi-bold);
            transition: color 0.3s;

            &:hover {
              color: #ee991a;
            }
          }

          .active {
            border-bottom: 2px solid #ee991a;
          }
        }
      }

      .btn__close {
        position: absolute;
        top: var(--mr-2);
        right: var(--mr-2);
        background-color: var(--bg-color-section1);
        width: 38px;
        height: 38px;
        border-radius: 50%;

        &:hover {
          background-color: #dfdfdf;
        }
      }
    }

    /* toggles  */
    .navbar__toggles {
      gap: 1rem;

      /* darkmode toggle */
      .navbar__toggle--darkmode {
        .navbar__toggle--darkmode-label {
          width: 42px;
          height: 20px;
          position: relative;
          display: block;
          background: #ebebeb;
          border-radius: 20px;
          box-shadow: inset 0px 2px 5px #00000066, inset 0px -2px 5px #ffffff66;
          cursor: pointer;
          transition: 0.3s;

          &::after {
            content: "";
            width: 16px;
            height: 16px;
            position: absolute;
            top: 2px;
            left: 2px;
            background: linear-gradient(180deg, #ffcc89, #d8860b);
            border-radius: 20px;
            box-shadow: 0px 5px 10px #00000033;
            transition: 0.3s;
          }

          &:active::after {
            width: 40px;
          }

          i {
            position: absolute;
            font-size: 14px;
            top: 3px;
            z-index: var(--z-fixed);

            &.navbar__toggle--darkmode-sun {
              left: 3px;
              color: var(--bg-color-section2);
              transition: 0.3s;
            }

            &.navbar__toggle--darkmode-moon {
              right: 2px;
              color: #7e7e7e;
              transition: 0.3s;
            }
          }
        }

        .navbar__toggle--darkmode-input {
          visibility: hidden;

          &:checked + label {
            background: #242424;

            &::after {
              left: 40px;
              transform: translateX(-100%);
              background: linear-gradient(180deg, #777, #3a3a3a);
            }

            .bx-sun {
              color: #7e7e7e;
            }

            .bx-moon {
              color: var(--bg-color-section2);
            }
          }
        }
      }
    }
  }
  .btn__open,
  .btn__close,
  .navbar__logo i {
    font-size: 2.2rem;
    color: var(--primary-color);
    transition: background 0.3s;
  }
  .btn__open {
    &:hover {
      background-color: #dfdfdf;
    }
  }
}

@keyframes animation-bar {
  to {
    background-color: var(--bg-color-section2);
    backdrop-filter: blur(5px);
    box-shadow: var(--box-shadow);
  }
}

/* ============= Home ============= */
.home {
  background-color: var(--bg-color-section1);
  position: relative;
  overflow: hidden;

  .home__layer {
    position: absolute;
    font-size: 70px;
    color: var(--primary-color);
  }

  .home__layer--1 {
    top: 15%;
    left: 5%;
  }

  .home__layer--2 {
    top: 25%;
    left: 80%;
  }

  .home__layer--3 {
    top: 65%;
    left: 90%;
  }

  .home__layer--4 {
    top: 15%;
    left: 70%;
  }

  .home__layer--5 {
    top: 20%;
    left: 50%;
  }

  .home__layer--6 {
    top: 40%;
    left: 55%;
  }

  .home__layer--7 {
    top: 75%;
    left: 40%;
  }

  .home__layer--8 {
    top: 50%;
    left: 12%;
  }

  .home__layer--9 {
    top: 40%;
    left: 3%;
  }

  .home__layer--10 {
    top: 70%;
    left: 7%;
  }

  .home__layer--11 {
    top: 10%;
    left: 20%;
  }

  .home__container {
    position: relative;
    row-gap: 2rem;
    padding: var(--header-height) 0 3rem;
    .home__image {
      width: clamp(min(320px, 100%), 85vw, 445px);
      height: auto;
      margin: 0 auto;
    }
    .home__social {
      position: absolute;
      top: 10rem;
      left: 1.2rem;
      flex-direction: column;
      row-gap: var(--mr-2);
      .home__social-link {
        color: #777;
        font-size: 1.7rem;
        transition: color 0.3s;
        text-align: center;
        &:hover {
          color: var(--primary-color);
        }
      }
    }
    .home__info {
      .home__title,
      .home__description {
        text-align: center;
      }
      .home__title {
        margin: 0 auto;
        margin-bottom: var(--mr-2);
        text-transform: uppercase;
        border-right: 4px solid;
        white-space: nowrap;
        width: 20ch;
        animation: typing 2s infinite steps(15) alternate,
          blink 0.3s infinite step-end alternate;
        overflow: hidden;
      }
    }
    .home__buttons {
      text-align: center;
    }
  }
}

@keyframes typing {
  from {
    width: 0;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* ============= About ============= */
.about {
  background-color: var(--bg-color-section2);
  overflow: hidden;
  .about__container {
    .about__description {
      text-align: center;
    }
    .about__cards {
      margin-top: 2rem;
      flex-direction: column;
      gap: 2rem;
      .about__card {
        background-color: var(--bg-color-section1);
        padding: 2rem;
        border-radius: 5px;
        box-shadow: var(--box-shadow);
        .about__card--img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }
    }
  }
}

/* ============= skills ============= */
.skills {
  background-color: var(--bg-color-section1);
  width: 100%;
  overflow: hidden;
  .skills__container {
    .skills__description {
      text-align: center;
    }

    /* SLIDER  */
    .skills__wrapper {
      .skills__cards {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;

        .skills__cards-container {
          background-color: var(--primary-color);
          height: 100px;
          padding: 20px;
          border-radius: 1rem;
          text-align: center;
          width: inherit;
          transition: 0.5s cubic-bezier(0.6, -0.28, 0.735, 0.045);
          overflow: hidden;

          .skills__cards-title {
            list-style: none;
            cursor: pointer;
            height: 100%;
            align-items: start;

            .bx {
              width: 50px;
              background-color: var(--bg-color-section2);
              color: var(--primary-color);
              font-size: 3rem;
              border-radius: 50%;
              padding: 8px;
            }
          }
          .skills__card-container {
            color: var(--bg-color-section2);
            height: 300px;
            overflow: hidden;
          }

          &[open] {
            height: 400px;
            .skills__cards-title {
              height: auto;
            }
          }
        }
      }
    }
    .skills__tags-title {
      text-align: center;
      margin-top: 3rem;
    }

    .skills__tags {
      flex-direction: column;
      margin-top: var(--mr-4);
      .skills__tags-container {
        flex-wrap: wrap;
        gap: 1rem;
      }
      .skills__tag {
        display: inline-block;
        padding: 0.75rem 1.5rem;
        font-weight: var(--font-semi-bold);
        font-size: var(--small-font-size);
        background-color: var(--primary-color);
        color: var(--bg-color-section2);
        border-radius: 5px;
      }
    }
  }
}

/* ============= Projects ============= */
.projects {
  background-color: var(--bg-color-section1);
  .projects__container {
    gap: 2rem;
    .projects__inner {
      align-items: center;
      margin: 0;
      .projects__image {
        aspect-ratio: 16 / 13;
        width: 100%;
        overflow: hidden;
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          border-radius: 5px;
          box-shadow: 6px 11px 13px 0 #0000002e;
          animation: showing linear both;
          animation-timeline: view();
          animation-range: entry 25% cover 35%;
        }
      }
      .projects__info {
        padding: 1rem;
        .projects__name {
          margin-top: 0;
        }
        .projects__buttons {
          display: flex;
          flex-wrap: wrap;
          gap: 1rem;
          .projects__button {
            color: var(--bg-color-section2);
            background-color: var(--primary-color);
            padding: 0.75rem 1.5rem;
            font-size: var(--small-font-size);
          }
        }
      }
    }
  }
}
.mentoria__pagos {
  text-align: center;
}

@keyframes showing {
  from {
    opacity: 0;
    translate: 0 100px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* ============= Payments ============= */
.payments {
  background-color: var(--bg-color-section2);
  .skills__container {
    .skills__description {
      text-align: center;
    }
  }
}

/* ============= Course ============= */
.course {
  background-color: var(--bg-color-section2);
  .skills__container {
    .skills__description {
      text-align: center;
    }
  }
}

/* ============= Contact ============= */
.contact {
  background-color: var(--bg-color-section1);
  .contact__container {
    gap: 2rem;
    .contact__info {
      .contatc__info-data {
        font-style: normal;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 2rem 0;
      }
      .contact__info-number a[href*="api.whatsapp.com"] {
        color: green;
      }
      .contact__info-number a {
        color: blue;
      }
      .contact__info-mail a {
        color: red;
      }
    }

    .contact__form {
      width: 100%;
      padding: 3rem 1.5rem 2rem;
      background-color: var(--bg-color-section2);
      border-radius: 5px;
      margin: 0 auto;

      .contact__form-container {
        .contact__form-group {
          margin-bottom: var(--mr-4);

          .contact__form-label {
            display: block;
            margin-bottom: 8px;
          }

          .contact__form-input {
            width: 100%;
            padding: 1rem;
            font-size: 1.2rem;
            font-weight: var(--font-semi-bold);
            border-radius: 5px;
            background-color: #ebebeb;
            border: 1px solid #f0f0f0;
          }

          textarea {
            resize: none;
          }
        }

        .contact__form-modal {
          position: fixed;
          top: 50%;
        }
      }
    }
  }
}

/* ============= Footer ============= */
.footer {
  background-color: #111;
  color: #efefef;
  padding-bottom: 2rem;
  .footer__container {
    gap: 2rem;
    .footer__info {
      .footer__title {
        font-size: 1.5rem;
      }
    }
    .footer__social {
      .footer__social-list {
        display: flex;
        gap: var(--mr-2);
        font-size: 1.5rem;

        .footer__social-link {
          color: var(--bg-color-section2);
          transition: text-shadow 0.3s;
          &:hover {
            text-shadow: 2px 3px #ee991a55;
          }
        }
        .footer__social-link {
          text-align: center;
          margin-top: 2rem;
          margin-bottom: 0;
        }
      }
    }
  }
  .footer__copy {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 2rem;
  }
}

/* ============= Media Queries ============= */

@media (width >= 768px) {
  :root {
    --header-height: 90px;
    --normal-font-size: 18px;
    --small-font-size: 14px;
  }

  .header {
    .navbar {
      .navbar__menu {
        position: static;
        border-radius: 0;
        background-color: transparent;
        box-shadow: none;

        .navbar__list {
          flex-direction: row;
        }
        .btn__close {
          display: none;
        }
      }
    }
    .btn__open {
      display: none;
    }
  }

  .home {
    .home__container {
      grid-template-columns: repeat(2, 1fr);
      grid-auto-rows: auto;

      .home__image {
        width: clamp(min(375px, 100%), 48vw, 500px);
        grid-column: 2 / 3;
        grid-row: 1 / 4;
        transform: translateY(3.3rem);
      }

      .home__social {
        position: relative;
        top: 0;
        left: 0;
        flex-direction: row;
        gap: 1.5rem;
        grid-row: 2 / 3;

        .home__social-link {
          font-size: 2rem;
        }
      }

      .home__info {
        .home__title {
          margin-top: 2rem;
          font-size: 2rem;
        }

        .home__description {
          font-size: 1.3rem;
          padding: 0 30px;
        }
      }
    }
  }

  .about {
    .about__container {
      .about__cards {
        flex-direction: row;

        .about__card {
          transition: transform 0.2s;

          &:nth-child(1) {
            transform: rotate(-8deg);
          }

          &:nth-child(3) {
            transform: rotate(8deg);
          }

          &:hover {
            z-index: var(--z-fixed);
            cursor: pointer;
            transform: scale(1.1);
          }
        }
      }
    }
  }

  .projects {
    .projects__container {
      padding: 3rem 0;
      gap: 5rem;

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

        &:nth-child(even) {
          .projects__image {
            order: 2;
          }

          .projects__info {
            order: 1;
            text-align: left;
          }

          .projects__buttons {
            justify-content: flex-start;
          }
        }
      }
    }
  }

  .contact {
    .contact__container {
      grid-template-columns: 0.5fr 1fr;
    }
  }

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

@media (width >= 968px) {
  :root {
    --header-height: 90px;
    --normal-font-size: 18px;
    --small-font-size: 14px;
  }

  .skills {
    .skills__container {
      /* SLIDER  */
      .skills__wrapper {
        .skills__cards {
          flex-direction: row;
          .skills__cards-container {
            height: 500px;
            width: 130px;
            &[open] {
              height: 500px;
              width: inherit;
            }
          }
        }
      }
    }
  }
}

#contact .section__title::before {
  content: "\1F4DD";
  font-size: 30px;
  margin-right: 10px;
}

#contact .section__title::after {
  content: "\1F4DD";
  font-size: 30px;
  margin-left: 10px;
}

.projects__image img {
  filter: brightness(0.7);
  transition: filter 0.5s ease-in-out;
}

.projects__image:hover img {
  filter: brightness(1);
}

@media screen and (max-width: 768px) {
  .projects__image img {
    filter: brightness(1);
  }
}

/*.skills__tags-container {
  display: flex;
  transition: transform 0.5s ease;
  flex-wrap: nowrap;
  align-items: center;
  margin-left: calc(
    50% - 50px
  ); /* centra el primer elemento compensando el padding */
/*transform: translateX(-50%); /* centra el grupo completo */
/*}*/

.carrusel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0 10px; /* espacio para que las imágenes no queden detrás de los botones */
  box-sizing: border-box;
}

.skills__tags-container {
  justify-content: flex-start;
  transform: translateX(0);
  margin-left: 0;
}

.carrusel-item {
  flex: 0 0 33.33%;
  margin: 0;
}

.carrusel-item img {
  display: block;
  margin: 0 auto;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 8px;
  cursor: pointer;
  font-size: 20px;
  z-index: 5;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

@media screen and (max-width: 900px) {
  .carrusel-item {
    flex: 0 0 50%; /* 💻 2 imágenes en tablets o pantallas medianas */
  }
}

@media screen and (max-width: 768px) {
  .carrusel-item {
    flex: 0 0 100%;
    margin-right: 0;
  }
  .carrusel-wrapper {
    padding: 0 0px; /* espacio para que las imágenes no queden detrás de los botones */
  }
}

.carrusel-item img[alt="tradingview"] {
  background-color: #000; /* fondo negro */
  object-fit: contain; /* mantiene proporciones sin deformar */
}

/* ---- CONTENEDOR ---- */
.whatsapp-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---- TEXTO ---- */
.whatsapp-label {
  background: #25d366;
  color: white;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  animation: fadeInUp 0.4s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* ---- BOTÓN ---- */
.whatsapp-btn {
  background-color: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease;

  /* 🔥 igual que antes pero con pausa */
  animation: ring 3.2s infinite ease-in-out;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
}

/* ---- Ícono ---- */
.whatsapp-icon {
  width: 36px;
  height: 36px;
  pointer-events: none;
}

/* ---- Animaciones ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🔥 RING con 1s de pausa (2.2s animación + 1s pausa) */
@keyframes ring {
  0% {
    transform: rotate(0);
  }
  10% {
    transform: rotate(8deg);
  }
  20% {
    transform: rotate(-8deg);
  }
  30% {
    transform: rotate(5deg);
  }
  40% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(3deg);
  }
  60% {
    transform: rotate(-3deg);
  }

  /* del 68% al 100% = PAUSA */
  68% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(0);
  }
}

/* ----- EFECTO BRILLO ----- */
.whatsapp-label::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );

  /* 🔥 igual, solo con pausa */
  animation: shine 3.2s infinite;
}

/* 🔥 SHINE con 1s de pausa */
@keyframes shine {
  0% {
    left: -100%;
  }
  68% {
    left: 150%;
  }

  /* Pausa aquí */
  100% {
    left: 150%;
  }
}

@keyframes bounce {
  0% {
    transform: translateY(20px);
  }
  50% {
    transform: translateY(35px);
  }
  100% {
    transform: translateY(20px);
  }
}

.bounce {
  animation: bounce 2s ease-in-out infinite;
}

/* Fondo oscuro */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 9999;
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Caja del popup */
.popup-box {
  background: #000; /* Negro */
  width: 90%;
  max-width: 400px;
  padding: 1.2rem;
  border-radius: 16px;
  position: relative;
  text-align: center;
  animation: popupFade 0.4s ease;
  overflow: hidden;
}

/* Animación */
@keyframes popupFade {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Imagen del banner */
.popup-banner {
  width: 100%;
  border-radius: 12px;
  display: block;
  margin-bottom: 1rem;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #c49245;
  color: #000;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

/* Ícono X perfecto */
.popup-close::before {
  content: "";
  width: 16px;
  height: 16px;
  background-size: contain;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' fill='black' xmlns='http://www.w3.org/2000/svg'><path d='M18 6L6 18M6 6l12 12' stroke='black' stroke-width='3.2' stroke-linecap='round'/></svg>");
}

.popup-close:hover {
  transform: scale(1.12);
  opacity: 0.9;
}

/* Botón Ver mentorías */
.popup-btn {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem;
  font-size: 1.35rem; /* ← AUMENTADO SOLO ESTO */
  text-align: center;
  background: #c49245; /* dorado */
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 12px;
  transition: 0.3s ease;
}

.popup-btn:hover {
  background: #a47a33; /* dorado oscuro */
}

/* Contenedor */
.popup-btn {
  position: relative;
  overflow: hidden;
}

/* Texto con animación suave */
.popup-btn span {
  display: inline-block;
  animation: textPulse 2.5s infinite ease-in-out;
}

/* Suave agrandamiento */
@keyframes textPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  } /* ← Aumenta muy poquito */
  100% {
    transform: scale(1);
  }
}

/* Brillo diagonal del botón Ver Mentorías */
.popup-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -100%;
  width: 80%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: shine 3.2s infinite ease-in-out; /* ← MISMA KEYFRAME */
  pointer-events: none;
}
