@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;900&display=swap');

:root {
  --bg-color: #121212;
  --snd-bg-color: #1e1e1e;
  --accent-bg: #f5f6fa;
  --accent-alt: #f9ac54;
  --text-color: #f5f5f5;
  --text-light: #dcdcdc;
  --btn-text: #000;
  --hover-shadow: rgba(255, 255, 255, 0.1);
  --highligth: #f9ac54;
  /* Colores para tarjetas/precios */
  --price-del: #ff6666;
  --price-discount: #2ecc71;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  list-style: none;
  scroll-behavior: smooth;
}


html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
}



/* Scrollbar Webkit */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background-color: var(--accent-bg);
  border-radius: 10px;
  border: 3px solid var(--bg-color);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--accent-alt);
}

/* Section Headers */
.section__header {
  font-size: 3.6rem;
  color: var(--accent-bg);
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  font-weight: 700;
}

.section__header::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.2rem;
  transform: translateX(-50%);
  width: 6rem;
  height: 0.4rem;
  background: var(--highligth);
  border-radius: 1rem;
}

section[id] {
  scroll-margin-top: 120px;
}



/* LOADER */

.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader {
  width: 44.8px;
  height: 44.8px;
  color: var(--accent-alt);
  position: relative;
  background: radial-gradient(11.2px, currentColor 94%, #0000);
}

.loader:before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(10.08px at bottom right, #0000 94%, currentColor) top left,
    radial-gradient(10.08px at bottom left, #0000 94%, currentColor) top right,
    radial-gradient(10.08px at top right, #0000 94%, currentColor) bottom left,
    radial-gradient(10.08px at top left, #0000 94%, currentColor) bottom right;
  background-size: 22.4px 22.4px;
  background-repeat: no-repeat;
  animation: loader 1.5s infinite cubic-bezier(0.3, 1, 0, 1);
}

@keyframes loader {
  33% {
    inset: -11.2px;
    transform: rotate(0deg);
  }

  66% {
    inset: -11.2px;
    transform: rotate(90deg);
  }

  100% {
    inset: 0;
    transform: rotate(90deg);
  }
}






/* ===== HEADER===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 7rem;
  padding: 0 6%;
  background-color: #000000;
  backdrop-filter: blur(14px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.header {
  background-color: #000000;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  width: 110px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* NAVBAR */
.navbar {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  margin-right: 2rem;
  background: #000000
}

.navbar a {
  position: relative;
  font-size: 1.6rem;
  color: var(--text-color);
  padding: 0.5rem 0.8rem;
  border-radius: 0.4rem;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.navbar a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background-color: var(--accent-alt);
  transition: width 0.3s ease-in-out;
}

.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

.navbar a:hover,
.navbar a.active {
  color: var(--accent-alt);
}


/* WHATSAPP BUTTON */
.top-btn .nav-btn {
  position: relative;
  display: inline-block;
  padding: 1rem 2.2rem;
  font-size: 1.5rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: var(--btn-text);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transform: skew(-18deg);
  background: var(--accent-alt);
  border-radius: 8px;
  z-index: 1;
  transition: all 0.35s ease;
  box-shadow: 0 4px 15px rgba(249, 172, 84, 0.2);
}

.top-btn .nav-btn span {
  display: inline-block;
  transform: skew(18deg);
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.top-btn .nav-btn::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  left: 0;
  background: var(--accent-bg);
  opacity: 0;
  z-index: 0;
  transition: all 0.4s ease;
  border-radius: inherit;
}

.top-btn .nav-btn:hover {
  color: #000;
  transform: skew(-18deg) scale(1.05);
  box-shadow: 0 6px 20px rgba(249, 172, 84, 0.4);
}

.top-btn .nav-btn:hover::before {
  left: 0;
  right: 0;
  opacity: 1;
}













/* MENU ICON */
/* === 1. ESTILO BASE (Fuera de queries) === */
.menu-icon {
  display: none;
  /* Se oculta en PC */
  font-size: 3rem;
  color: var(--accent-bg);
  cursor: pointer;
  z-index: 10001;
}

/* === 2. PARA MÓVILES (De 0 a 992px) === */
@media (max-width: 992px) {
  .menu-icon {
    display: block !important;
    /* Aparece el icono */
  }

  .navbar {
    display: flex !important;
    position: fixed;
    top: 0;
    right: -150%;

    width: 280px;
    height: 100vh;
    background: rgba(12, 12, 12, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    padding-top: 8rem;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 10000;
  }

  .navbar.active {
    right: 0 !important;
  }

  @media (max-width: 425px) {
    .navbar {
      width: 280px;
    }
  }

  @media (max-width: 375px) {
    .navbar {
      width: 100%;
    }
  }

  @media (max-width: 320px) {
    .navbar {
      width: 100%;
      gap: 0.8rem;
      padding-top: 6rem;
    }

    .navbar a {
      font-size: 1.6rem !important;
    }
  }

  .navbar a {
    font-size: 1.8rem;
    color: var(--text-color);
    opacity: 0;
    transform: translateX(30px);
    transition: 0.4s;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
  }

  .navbar.active a {
    opacity: 1;
    transform: translateX(0);
  }

  .navbar a:nth-child(1) {
    transition-delay: 0.1s;
  }

  .navbar a:nth-child(2) {
    transition-delay: 0.2s;
  }

  .navbar a:nth-child(3) {
    transition-delay: 0.3s;
  }

  .navbar a:nth-child(4) {
    transition-delay: 0.4s;
  }

  .navbar a:nth-child(5) {
    transition-delay: 0.5s;
  }

  .navbar a:nth-child(6) {
    transition-delay: 0.6s;
  }

  .navbar a:nth-child(7) {
    transition-delay: 0.7s;
  }

  .navbar a:nth-child(8) {
    transition-delay: 0.8s;
  }
}

@media (min-width: 993px) {
  .menu-icon {
    display: none;
  }

  .navbar {
    display: flex;
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    flex-direction: row;
    gap: 2rem;
    padding: 0;
  }

  .navbar a {
    opacity: 1;
    transform: none;
    font-size: 1.6rem;
  }
}




/* HOME section */
.home {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12rem 2rem 8rem;
  background: radial-gradient(circle at top left,
      var(--snd-bg-color) 0%,
      var(--bg-color) 40%,
      var(--accent-bg) 100%);
  color: var(--text-color);
  min-height: 100vh;
  scroll-margin-top: 12rem;
}



.home-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  gap: 5rem;
}

.home-left {
  flex: 1;
}

.home-left .highlight {
  color: #e69130;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.home-left h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-left h1 span {
  color: #f9ac54;
  -webkit-text-stroke: 1px #fff;
  text-shadow: 0 0 10px #f9ac54, 0 0 20px #f9ac54;
}

.home-left p {
  font-size: 1.4rem;
  color: #dddddd;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
  line-height: 1.6;
  max-width: 500px;
}

.home p {
  font-size: 1.8rem;
  color: #f9ac54;
  font-weight: 600;
  margin-top: 1rem;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 0 10px, 0 0 20px;
}

.btn-home {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: #f9ac54;
  color: #000;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.3s ease;
  text-decoration: none;
}

.btn-home:hover {
  background-color: #e08d32;
}

.home-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-right img {
  width: 100%;
  max-width: 450px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

/* TYPED*/
:root {
  --typed-color: #0D6BA6;
  --typed-glow: rgba(13, 107, 166, 0.7);
}

#typed-text {
  color: var(--typed-color);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.5px;
  text-shadow:
    0 0 6px var(--typed-glow),
    0 0 12px var(--typed-glow),
    0 1px 2px rgba(0, 0, 0, 0.1);
}

.typed-cursor {
  color: var(--typed-color);
  font-weight: 700;
  text-shadow:
    0 0 6px var(--typed-glow),
    0 0 10px var(--typed-glow);
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}


/* ABOUT */
.about__container {
  padding: 8rem 5%;
}

.about__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4rem;
  align-items: center;
  background-color: var(--snd-bg-color);
  border-radius: 2rem;
  padding: 4rem 3rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.about__info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about__box {
  display: flex;
  align-items: flex-start;
  gap: 1.8rem;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem 2.5rem;
  border-left: 5px solid var(--accent-color);
  border-radius: 1.5rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  backdrop-filter: blur(5px);
}

.about__box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 160%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transition: all 0.6s ease;
  z-index: 0;
}

.about__box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border-left-color: var(--accent-alt);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.about__box:hover::before {
  left: 100%;
}

.about__box:hover i {
  transform: scale(1.3) rotate(-6deg);
  color: var(--accent-alt);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
}

.about__box i {
  font-size: 3rem;
  color: var(--accent-color);
  flex-shrink: 0;
  transition: transform 0.4s ease, color 0.4s ease;
  z-index: 1;
}

.about__box h3 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  color: var(--accent-alt);
  font-weight: 600;
  z-index: 1;
}

.about__box p {
  font-size: 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
  text-align: justify;
  z-index: 1;
}

.about__image video {
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
  display: block;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about__image video:hover {
  transform: scale(1.02);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
}





/* SECTION: NUESTROS PROGRAMAS */
.explore__container {
  padding: 0.5rem 5% 10rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 10rem;
}

.explore__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4rem;
  align-items: center;
  background-color: var(--snd-bg-color);
  border-radius: 2rem;
  padding: 4rem 3rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.explore__header {
  text-align: center;
  margin-bottom: 4rem;
}


.explore__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
}

.explore__card {
  background: var(--snd-bg-color);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 6px 16px var(--hover-shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  z-index: 0;
}

.explore__card::before,
.explore__card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  transition: all 0.5s ease;
}

.explore__card::before {
  top: -100%;
  left: 0;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.06));
}

.explore__card::after {
  top: 0;
  left: -100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.07), transparent);
}


.explore__card:hover::before {
  top: 0;
}

.explore__card:hover::after {
  left: 100%;
}

.explore__card span i {
  font-size: 3.6rem;
  color: var(--accent-bg);
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.4s ease, color 0.4s ease;
}

.explore__card:hover span i {
  transform: scale(1.2) rotate(-5deg);
  color: var(--accent-alt);
}

.explore__card h4 {
  font-size: 2.2rem;
  color: var(--accent-alt);
  margin-bottom: 1rem;
  transition: transform 0.4s ease, color 0.4s ease, letter-spacing 0.4s ease;
}

.explore__card:hover h4 {
  transform: translateY(-4px);
  letter-spacing: 0.5px;
  color: var(--accent-bg);
}

.explore__card p {
  font-size: 1.6rem;
  color: var(--text-light);
  line-height: 1.6;
}

.explore__card a {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 1.4rem;
  color: var(--accent-bg);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.explore__card a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-alt);
  transition: width 0.3s ease;
}

.explore__card a:hover::after {
  width: 100%;
}

.explore__card a:hover {
  color: var(--accent-alt);
}

.explore__card a i {
  margin-left: 0.4rem;
  vertical-align: middle;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.explore__card a:hover i {
  transform: translateX(3px);
}

.modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}


.modal.active {
  display: flex;
  animation: fadeIn 0.4s ease forwards;
}


.modal__content {
  background: var(--bg-color);
  padding: 3rem;
  border-radius: 1.5rem;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
  animation: slideUp 0.4s ease forwards;
}


.modal__close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 2.8rem;
  color: var(--accent-alt);
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.modal__close:hover {
  color: var(--accent-bg);
  transform: scale(1.2);
}


.modal__title {
  font-size: 2.6rem;
  margin-bottom: 1.5rem;
  color: var(--accent-alt);
  font-weight: 700;
  text-align: center;
}

.modal__text {
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  text-align: justify;
}

.modal__text i {
  font-size: 1.6rem;
  color: var(--accent-bg);
  margin-right: 0.4rem;
  vertical-align: middle;
}

.modal__text strong i {
  margin-right: 0.6rem;
  font-size: 1.8rem;
  color: var(--accent-bg);
  vertical-align: middle;
}


.modal__text ul {
  margin: 0;
  padding-left: 2rem;
  list-style: disc;
  color: var(--text-color);
}

.modal__text li {
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
  line-height: 1.6;
}

.modal__text li i {
  margin-right: 0.5rem;
  color: var(--accent-alt);
  font-size: 1.5rem;
  vertical-align: middle;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* BOTÓN WHATSAPP ELEGANTE */
.whatsapp-btn {
  background-color: #ffffff;
  border: 2px solid #25D366;
  padding: 0.5em 1.2em;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #25D366;
  border-radius: 2em;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.whatsapp-btn svg {
  height: 1.1em;
  fill: #25D366;
  transition: transform 0.4s ease, fill 0.4s ease;
}

.whatsapp-btn:hover {
  background-color: #25D366;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(37, 211, 102, 0.35);
}

.whatsapp-btn:hover svg {
  fill: #fff;
  transform: scale(1.1);
}




/* SECCIÓN TEAM */


.team__section {
  padding: 8rem 7%;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at top right,
      var(--snd-bg-color) 0%,
      var(--bg-color) 40%,
      var(--accent-bg) 100%);
  color: var(--text-color);
  overflow: hidden;
}

.section__header {
  color: var(--accent-alt, #f9ac54);
  font-size: 3.5rem;
  margin-bottom: 5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.team__card {
  background: rgba(27, 27, 27, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 1.5rem;
  border: 1px solid rgba(249, 172, 84, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);


  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.team__card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-alt, #f9ac54);
  box-shadow: 0 15px 40px rgba(249, 172, 84, 0.15);
}

.team__card img {
  width: 100%;
  max-width: 240px;
  height: 280px;
  border-radius: 1.2rem;
  margin-bottom: 2rem;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.team__card:hover img {
  transform: scale(1.03);
}

.team__card h4 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.team__card p {
  color: #ccc;
  font-size: 1.4rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* BOTON VER PERFIL */
.team__btn {
  margin-top: auto;
  padding: 14px 0;
  width: 100%;
  max-width: 220px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1b1b1b;
  background-color: var(--accent-alt, #f9ac54);
  border: 2px solid var(--accent-alt, #f9ac54);
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease;
}

.team__btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #1b1b1b;
  transition: all 0.4s ease;
  z-index: -1;
}

.team__btn:hover {
  color: var(--accent-alt, #f9ac54);
}

.team__btn:hover::before {
  left: 0;
}


/* ==========================
   MODAL GENERAL
========================== */

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(24, 38, 41, 0.6);
  padding: 1.5rem;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(6px);
  overflow-y: auto;
  transition: opacity 0.4s ease;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--snd-bg-color);
  max-width: 800px;
  width: 100%;
  min-height: 500px;
  border-radius: 1.2rem;
  padding: 1.5rem 2rem;
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  position: relative;
  color: var(--text-color);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
  animation: fadeInUp 0.4s ease-out;
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
  color: var(--accent-alt);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.8rem;
  cursor: pointer;
  background: rgba(24, 107, 140, 0.08);
  border-radius: 50%;
  padding: 0.4rem;
  transition: all 0.3s ease;
}

.close:hover {
  background: rgba(24, 107, 140, 0.25);
  transform: scale(1.1);
}

.trainer-modal__image {
  flex: 1 1 35%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 60px;
}

.trainer-modal__image img {
  width: 100%;
  max-width: 260px;
  border-radius: 1.2rem;
  object-fit: cover;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trainer-modal__info {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.8rem;
  color: var(--text-light);
  font-family: 'Inter', 'Roboto', sans-serif;
}

.trainer-modal__info h3 {
  font-size: 1.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-bg);
  margin-bottom: 0.6rem;
  letter-spacing: 0.6px;
}

.trainer-modal__info h3::after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--accent-alt);
  display: block;
  margin-top: 0.4rem;
  border-radius: 2px;
}

.trainer-modal__info p {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--text-light);
}

.trainer-location {
  font-size: 1.4rem;
  font-style: italic;
  margin-bottom: 0.4rem;
}

.trainer-experience {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent-alt);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trainer-highlight {
  background: rgba(24, 107, 140, 0.08);
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--accent-alt);
  font-weight: 600;
  color: var(--text-color);
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.trainer-certifications,
.trainer-contact,
.trainer-education,
.trainer-values,
.trainer-role {
  font-size: 1.25rem;
  line-height: 1.6;
}

.trainer-certifications ul,
.trainer-contact ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.4rem;
}

.modal strong {
  color: var(--accent-alt);
  font-weight: 700;
}



/* SOCIALS */
.trainer-socials-section {
  text-align: center;
  margin-top: 1.5rem;
}

.trainer-socials-text {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.trainer-socials-text strong {
  color: var(--accent-alt);
  font-weight: 600;
}

.trainer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 0.8rem;
  background: rgba(24, 107, 140, 0.08);
  color: var(--accent-alt);
  font-size: 1.8rem;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.social-link:hover {
  transform: scale(1.1);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.whatsapp:hover {
  background: #25D366;
}






/* CLASES */
.class__container {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 6rem 8%;
}

.class__image {
  flex: 1;
  position: relative;
}


.class__image .bg__blur {
  position: absolute;
  width: 20rem;
  height: 20rem;
  background: var(--accent-bg);
  filter: blur(60px);
  top: -10%;
  left: -10%;
  z-index: 1;
}

.class__video {
  width: 100%;
  height: auto;
  max-height: 100%;
  border-radius: 1rem;
  box-shadow: 0 8px 20px var(--hover-shadow);
  object-fit: cover;
  position: relative;
  z-index: 2;
  display: block;
}


.class__content {
  flex: 1;
}

.class__content p {
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--text-color);
  line-height: 1.6;
  margin-top: 1rem;
}

.class__content .btn {
  margin-top: 2rem;
}

/* ---------- BOTÓN INSTAGRAM ---------- */
.instagram__uiverse {
  background: transparent;
  position: relative;
  padding: 0.6rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid #d62976;
  border-radius: 25px;
  outline: none;
  overflow: hidden;
  color: #d62976;
  transition: color 0.3s ease-out, border 0.3s ease-out;
  text-align: center;
  line-height: 1;
}

.instagram__uiverse svg {
  width: 50px;
  height: 25px;
  display: block;
}

.instagram__uiverse span {
  margin-left: 0;
  font-size: 1.8rem;
}

.instagram__uiverse::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  width: 0;
  height: 0;
  background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  z-index: -1;
  transition: width 0.4s ease, height 0.4s ease;
}

.instagram__uiverse:hover {
  color: #fff;
  border-color: transparent;
}

.instagram__uiverse:hover::before {
  width: 300px;
  height: 300px;
}










/*JOIN SECTION*/
.join__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 2rem;
  /* background: var(--snd-bg-color); */
  border-radius: 2rem;
  /* box-shadow: 0 10px 25px var(--hover-shadow); */
}

.section__header {
  font-size: 3rem;
  text-align: center;
  color: var(--accent-alt);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section__subheader {
  font-size: 1.6rem;
  color: var(--text-light);
  text-align: center;
  margin: 0 auto 4rem;
  line-height: 1.7;
  max-width: 720px;
}


.join__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
}

.join__card {
  background: var(--bg-color);
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  padding: 2rem;
  border-radius: 1.6rem;
  box-shadow: 0 8px 20px var(--hover-shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
  position: relative;
}

.join__card:hover {
  transform: translateY(-6px);
  background: var(--accent-alt);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

.join__card:hover h4,
.join__card:hover p {
  color: var(--btn-text);
}

.join__card:hover span {
  background: rgba(255, 255, 255, 0.2);
  color: var(--btn-text);
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.2);
}

.join__card span {
  background: rgba(24, 107, 140, 0.1);
  border-radius: 50%;
  padding: 1rem;
  font-size: 2.4rem;
  color: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  min-height: 4.5rem;
  box-shadow: inset 0 0 8px rgba(24, 107, 140, 0.08);
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.join__card__content h4 {
  font-size: 1.6rem;
  color: var(--accent-alt);
  margin-bottom: 0.4rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.join__card__content p {
  font-size: 1.4rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
  transition: color 0.3s ease;
}








/* Price Section */
.price__container {
  padding: 6rem 2rem;
  margin-top: 10rem;
  background: radial-gradient(circle at top left,
      var(--snd-bg-color) 0%,
      var(--bg-color) 40%,
      var(--accent-bg) 100%);
  margin: 0 auto;
  text-align: center;
}

.section__header {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-bg);
  margin-bottom: 0.5rem;
}

.section__subheader {
  font-size: 1.6rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 720px;
  margin-inline: auto;
  line-height: 1.6;
}

.price__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 4rem;
}


.flip-card {
  background-color: transparent;
  width: 320px;
  height: 400px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease-in-out;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 1.2rem;
  box-shadow: 0 16px 32px var(--hover-shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backface-visibility: hidden;
  padding: 2rem;
  transition: all 0.4s ease-in-out;
}

.flip-card-front {
  background: linear-gradient(135deg, var(--snd-bg-color) 30%, var(--bg-color) 100%);
  color: var(--accent-bg);
  border: 2px solid var(--accent-alt);
}

.flip-card-front h4 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.flip-card-front h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-alt);
}

.flip-card-back {
  background: linear-gradient(135deg, var(--accent-alt) 0%, var(--accent-bg) 100%);
  color: var(--btn-text);
  transform: rotateY(180deg);
}

.flip-card-back svg {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  fill: var(--btn-text);
}

.para {
  font-size: 1.5rem;
  margin: 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--btn-text);
}

.para del {
  color: #911414;
  font-weight: 500;
  margin-right: 0.5rem;
}


.link {
  margin-top: 1.5rem;
  padding: 0.8rem 1.6rem;
  background-color: var(--btn-text);
  color: var(--accent-bg);
  font-weight: 600;
  font-size: 1.3rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px var(--hover-shadow);
}

.link:hover {
  background-color: var(--bg-color);
  color: var(--accent-alt);
  transform: translateY(-3px);
}


.flip-icon {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 2rem;
  color: var(--accent-alt);
  background-color: var(--snd-bg-color);
  border-radius: 50%;
  padding: 0.3rem;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.session-types li {
  position: relative;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  padding-left: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.6rem;
  padding: 0.8rem 1.2rem 0.8rem 2.5rem;
  background-color: transparent;
  transition: border-color 0.3s ease;
}

.session-types li:hover {
  border-color: rgba(255, 255, 255, 0.4);
}





/* REVIEW SECTION */

.review__container {
  padding: 4rem 8%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section__header {
  font-size: 3rem;
  color: var(--accent-bg);
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.section__subheader {
  font-size: 1.6rem;
  color: var(--text-light);
  margin-bottom: 3.5rem;
  max-width: 720px;
  margin-inline: auto;
  line-height: 1.8;
  opacity: 0.9;
}

.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.review__track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
  align-items: stretch;
}

.review__card {
  flex: 0 0 100%;
  max-width: 100%;
  background-color: var(--snd-bg-color);
  border-radius: 0.8rem;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  margin: 0 auto;
  height: auto;
  min-height: 500px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}



.review__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.review__author img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-alt);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}


.review__author h4 {
  font-size: 2rem;
  color: var(--accent-bg);
  font-weight: 600;
  margin-top: 1rem;
}

.review__author span {
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

.review__text {
  font-size: 1.7rem;
  color: var(--text-color);
  line-height: 1.8;
  font-style: italic;
  max-width: 700px;
  margin: 1rem auto 0;
  padding: 0 1rem;
  opacity: 0.95;
}

.carousel__indicators {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.carousel__indicators .dot {
  width: 12px;
  height: 12px;
  background: var(--text-light);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.carousel__indicators .dot.active {
  background: var(--accent-alt);
}






/* FOOTER */

.footer__container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 8%;
  background: #252728;
  background: #000000;
  color: #fff;
}

.footer__col {
  flex: 1 1 20rem;
}

.footer__logo img {
  width: 180px;
  margin-left: -35px;
  margin-top: -35px;
}

.footer__col h4 {
  font-size: 2rem;
  margin-top: 10px;
  color: #ffffff;
}

.footer__col p,
.footer__col a {
  font-size: 1.6rem;
  color: #ecf0f1;
  margin: 0.5rem 0;
  text-decoration: none;
}

.footer__col #typed-vamos {
  font-size: 1.6rem;
}

.footer__col a:hover {
  color: var(--accent-alt);
}

.footer__socials {
  display: flex;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.Btn {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: transparent;
  position: relative;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.svgContainer {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  backdrop-filter: blur(4px);
  border-radius: 10px;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.svgContainer i {
  font-size: 3rem;
  color: var(--btn-text);
  z-index: 2;
  transition: transform 0.3s, color 0.3s;
}

.BG {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 10px;
  z-index: 0;
  pointer-events: none;
  transition: all 0.3s;
  background: var(--accent-alt);
}

.Btn:hover .BG {
  transform: rotate(35deg);
  transform-origin: bottom;
}

.Btn:hover .svgContainer {
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.2);
}

.Btn:hover .svgContainer i {
  color: #fff;
  transform: scale(1.2);
}


#typed-vamos {
  color: var(--typed-color, #feda75);
  font-weight: bold;
  font-size: 1.5rem;
}

.footer__email {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #ecf0f1;
  font-size: 1.4rem;
  text-decoration: none;
  transition: color 0.3s;
}

.footer__email i {
  font-size: 2rem;
  color: var(--accent-alt);
  transition: color 0.3s;
}


#tip-footer {
  font-size: 1.6rem;
  color: #ecf0f1;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.footer__copyright {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  padding: 0.2rem 0;
  font-size: 1.4rem;
  color: #ecf0f1;
  border-top: 1px solid rgba(255, 255, 255, 0.2);

  font-weight: 500;

}

.footer__copyright span#currentYear {
  font-weight: bold;
  color: var(--accent-alt);
  transition: color 0.3s;
}

/* === MODAL DEL FOOTER === */
#footerModal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  animation: fadeIn 0.3s ease forwards;
}

#footerModal.active {
  display: flex;
}

/* === CONTENIDO DEL MODAL === */
#footerModal .footer-modal-content {
  background: var(--snd-bg-color, #1f1f1f);
  color: var(--text-color, #f5f5f5);
  max-width: 750px;
  width: 95%;
  border-radius: 1.2rem;
  padding: 3.5rem 3rem;
  position: relative;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  text-align: justify;
  animation: slideUp 0.4s ease-out;
  overflow-y: auto;
  max-height: 85vh;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-alt, #f9ac54) transparent;
}

#footerModal .footer-modal-content::-webkit-scrollbar {
  width: 8px;
}

#footerModal .footer-modal-content::-webkit-scrollbar-thumb {
  background: var(--accent-alt, #f9ac54);
  border-radius: 6px;
}

#footerModal .footer-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.6rem;
  font-size: 2.6rem;
  color: var(--accent-alt, #f9ac54);
  cursor: pointer;
  background: rgba(249, 172, 84, 0.1);
  border-radius: 50%;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#footerModal .footer-close-btn i {
  font-size: 2.6rem;
  transition: transform 0.3s ease;
}

#footerModal .footer-close-btn:hover {
  background: var(--accent-alt, #f9ac54);
  color: #fff;
  transform: scale(1.1);
}

#footerModal .footer-close-btn:hover i {
  transform: rotate(90deg);
}

#footerModal h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-alt, #f9ac54);
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(249, 172, 84, 0.25);
  padding-bottom: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

#footerModal h2 i {
  font-size: 2.2rem;
  color: var(--accent-alt, #f9ac54);
}

#footerModal h3 {
  font-size: 1.8rem;
  color: var(--accent-bg, #f5f6fa);
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  border-left: 4px solid var(--accent-alt, #f9ac54);
  padding-left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#footerModal h3 i {
  font-size: 1.7rem;
  color: var(--accent-alt, #f9ac54);
}

#footerModal p {
  font-size: 1.55rem;
  line-height: 1.8;
  color: var(--text-light, #dcdcdc);
  margin-bottom: 1.4rem;
}

#footerModal strong {
  color: var(--accent-alt, #f9ac54);
}

#footerModal ul {
  margin-top: 0.8rem;
  padding-left: 2.4rem;
  list-style: disc;
}

#footerModal li {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  line-height: 1.6;
  color: var(--text-light, #dcdcdc);
}

#footerModal hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 2.5rem 0;
}


@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}





/* POPUP */

.imc-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 260px;
  background: var(--snd-bg-color);
  color: var(--text-color);
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 9999;
  overflow: hidden;
  opacity: 0;
  /* Estado inicial: escondido abajo */
  transform: translateY(100px);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Cuando tiene .show, entra y activa la animación de salto */
.imc-popup.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  animation: jump-vibrate 4s ease-in-out infinite;
}

.imc-popup-header {
  background: var(--accent-alt);
  padding: 0.8rem 1rem;
  text-align: center;
}

.imc-popup-header h4 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--btn-text);
}

.imc-popup-body {
  padding: 1rem;
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--text-light);
  text-align: center;
}

.imc-popup:hover {
  animation-play-state: paused;
  background-color: var(--snd-bg-color);
}


/* MEDIA QUERYS */
@media (min-width: 320px) {
  html {
    font-size: 50%;
  }

  .section__header {
    font-size: 2.8rem;
    margin-bottom: 3rem;
  }

  .section__header::after {
    width: 4.5rem;
    height: 0.3rem;
  }

  section[id] {
    scroll-margin-top: 80px;
  }

  .loader {
    width: 35px;
    height: 35px;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 55%;
  }

  .section__header {
    font-size: 3.2rem;
    margin-bottom: 3.5rem;
  }

  section[id] {
    scroll-margin-top: 100px;
  }

  .loader {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 1024px) {
  html {
    font-size: 62.5%;
  }

  .section__header {
    font-size: 3.6rem;
    margin-bottom: 4rem;
  }

  .section__header::after {
    width: 6rem;
    height: 0.4rem;
  }

  section[id] {
    scroll-margin-top: 120px;
  }

  .loader {
    width: 44.8px;
    height: 44.8px;
  }
}

@media (min-width: 1440px) {
  html {
    font-size: 65%;
  }
}

@media (min-width: 320px) {
  .header {
    height: 6rem;
    padding: 0 4%;
  }

  .logo-img {
    width: 85px;
  }

  .navbar {
    display: none;
  }

  .top-btn .nav-btn {
    padding: 0.8rem 1.6rem;
    font-size: 1.2rem;
  }

  .top-btn .nav-btn span {
    letter-spacing: 0.2px;
  }
}

@media (min-width: 480px) {
  .logo-img {
    width: 95px;
  }

  .top-btn .nav-btn {
    padding: 0.9rem 1.8rem;
    font-size: 1.3rem;
  }
}

@media (min-width: 768px) {
  .header {
    height: 6.5rem;
    padding: 0 5%;
  }

  .logo-img {
    width: 100px;
  }

  .navbar {
    display: flex;
    gap: 1.5rem;
    margin-right: 1.5rem;
  }

  .navbar a {
    font-size: 1.4rem;
    padding: 0.4rem 0.6rem;
  }

  .top-btn .nav-btn {
    padding: 1rem 2rem;
    font-size: 1.4rem;
  }
}

@media (min-width: 1024px) {
  .header {
    height: 7rem;
    padding: 0 6%;
  }

  .logo-img {
    width: 110px;
  }

  .navbar {
    gap: 2.5rem;
    margin-right: 2rem;
  }

  .navbar a {
    font-size: 1.6rem;
  }

  .top-btn .nav-btn {
    padding: 1rem 2.2rem;
    font-size: 1.5rem;
  }
}

@media (min-width: 1440px) {
  .header {
    padding: 0 8%;
  }
}

@media (min-width: 320px) {
  .home {
    padding: 10rem 2rem 5rem;
    min-height: auto;
    scroll-margin-top: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .home-content {
    flex-direction: column-reverse;
    gap: 3.5rem;
    text-align: center;
  }

  .home-left .highlight {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }

  .home-left h1 {
    font-size: 2.8rem;
    line-height: 1.3;
  }

  .home-left p {
    font-size: 1.3rem;
    margin: 1.5rem auto;
    max-width: 100%;
  }

  .home p {
    font-size: 1.6rem;
    margin-top: 0.8rem;
  }

  #typed-text {
    font-size: 1.6rem;
  }

  .btn-home {
    padding: 1.2rem 3rem;
    width: 100%;
    max-width: 260px;
    font-size: 1.4rem;
  }

  .home-right img {
    max-width: 250px;
  }
}

@media (min-width: 480px) {
  .home-left h1 {
    font-size: 3.2rem;
  }

  .home-right img {
    max-width: 300px;
  }
}

@media (min-width: 768px) {
  .home {
    padding: 12rem 4rem 8rem;
  }

  .home-content {
    gap: 4rem;
  }

  .home-left h1 {
    font-size: 3.8rem;
  }

  .home-left p {
    font-size: 1.4rem;
    max-width: 480px;
  }

  .home-right img {
    max-width: 380px;
  }

  .btn-home {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .home {
    padding: 12rem 6% 8rem;
    min-height: 100vh;
  }

  .home-content {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    gap: 5rem;
  }

  .home-left {
    text-align: left;
  }

  .home-left .highlight {
    font-size: 2rem;
  }

  .home-left h1 {
    font-size: 4.5rem;
  }

  .home-left p {
    margin: 2rem 0;
  }

  .home p {
    font-size: 1.8rem;
  }

  #typed-text {
    font-size: 1.8rem;
  }

  .home-right img {
    max-width: 450px;
  }
}

@media (min-width: 1440px) {
  .home-content {
    max-width: 1200px;
  }
}

@media (min-width: 320px) {
  .about__container {
    padding: 6rem 4%;
  }

  .about__content {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 1.5rem;
  }

  .about__info {
    gap: 1.5rem;
  }

  .about__box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
  }

  .about__box i {
    font-size: 2.6rem;
  }

  .about__box h3 {
    font-size: 1.8rem;
  }

  .about__box p {
    font-size: 1.4rem;
    text-align: center;
  }

  .about__image video {
    max-height: 250px;
  }
}

@media (min-width: 480px) {
  .about__container {
    padding: 7rem 5%;
  }

  .about__box {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 2rem 2rem;
  }

  .about__box p {
    text-align: justify;
  }

  .about__image video {
    max-height: 350px;
  }
}

@media (min-width: 768px) {
  .about__content {
    grid-template-columns: 1fr;
    padding: 4rem 3rem;
  }

  .about__info {
    gap: 2rem;
  }

  .about__box {
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .about__content {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
  }

  .about__container {
    padding: 8rem 6%;
  }

  .about__image video {
    max-height: none;
    height: 100%;
  }
}

@media (min-width: 1440px) {
  .about__container {
    padding: 10rem 10%;
  }
}

/* EXPLORE */
@media (min-width: 320px) {
  .explore__container {
    padding: 2rem 4% 6rem;
    margin-bottom: 5rem;
  }

  .explore__content {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
    gap: 2.5rem;
  }

  .explore__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .explore__card {
    padding: 2rem 1.5rem;
  }

  .explore__card h4 {
    font-size: 1.9rem;
  }

  .explore__card p {
    font-size: 1.4rem;
  }

  .modal__content {
    padding: 2.5rem 2rem;
    width: 95%;
  }

  .modal__title {
    font-size: 2.1rem;
    margin-top: 1rem;
  }

  .modal__text,
  .modal__text li {
    font-size: 1.4rem;
  }

  .whatsapp-btn {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.8em 1.2em;
  }
}

@media (min-width: 480px) {
  .explore__grid {
    grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
  }

  .explore__card h4 {
    font-size: 2.1rem;
  }

  .whatsapp-btn {
    width: auto;
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .explore__container {
    padding: 4rem 5% 8rem;
    margin-bottom: 8rem;
  }

  .explore__content {
    padding: 4rem 3rem;
  }

  .explore__grid {
    gap: 2.5rem;
  }

  .modal__content {
    padding: 3.5rem;
    width: 90%;
  }

  .modal__title {
    font-size: 2.4rem;
  }
}

@media (min-width: 1024px) {
  .explore__container {
    padding: 0.5rem 6% 10rem;
    margin-bottom: 10rem;
  }

  .explore__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .modal__title {
    font-size: 2.6rem;
  }

  .modal__text,
  .modal__text li {
    font-size: 1.6rem;
  }
}

@media (min-width: 1440px) {
  .explore__container {
    padding-left: 10%;
    padding-right: 10%;
  }

  .explore__grid {
    gap: 3rem;
  }
}

@media (min-width: 320px) {
  .team__section {
    padding: 6rem 5%;
  }

  .section__header {
    font-size: 2.4rem;
    margin-bottom: 3.5rem;
  }

  .team__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team__card img {
    height: 240px;
    max-width: 200px;
  }

  .team__card h4 {
    font-size: 1.8rem;
  }

  .modal-content {
    flex-direction: column;
    padding: 3.5rem 1.5rem 2rem;
    min-height: auto;
    max-height: 90vh;
    overflow-y: auto;
  }

  .trainer-modal__image {
    margin-top: 0;
    flex: none;
  }

  .trainer-modal__image img {
    max-width: 150px;
  }

  .trainer-modal__info {
    flex: none;
    text-align: center;
    gap: 1rem;
  }

  .trainer-modal__info h3 {
    font-size: 1.8rem;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .trainer-highlight {
    font-size: 1.1rem;
    justify-content: center;
  }

  .trainer-certifications ul,
  .trainer-contact ul {
    text-align: left;
    display: inline-block;
  }

  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
  }
}

@media (min-width: 480px) {
  .team__grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .trainer-modal__image img {
    max-width: 180px;
  }
}

@media (min-width: 768px) {
  .team__section {
    padding: 8rem 7%;
  }

  .section__header {
    font-size: 3rem;
  }

  .modal-content {
    flex-direction: row;
    padding: 2rem 2.5rem;
    align-items: flex-start;
  }

  .trainer-modal__image {
    margin-top: 40px;
    flex: 1 1 40%;
  }

  .trainer-modal__image img {
    max-width: 240px;
  }

  .trainer-modal__info {
    flex: 1 1 60%;
    text-align: left;
  }

  .trainer-modal__info h3 {
    align-items: flex-start;
  }

  .trainer-highlight {
    justify-content: flex-start;
  }
}

@media (min-width: 1024px) {
  .section__header {
    font-size: 3.5rem;
  }

  .team__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .modal-content {
    padding: 2.5rem 3rem;
    gap: 2.5rem;
  }

  .trainer-modal__info h3 {
    font-size: 2.2rem;
  }

  .trainer-modal__info p {
    font-size: 1.3rem;
  }
}

@media (min-width: 1440px) {
  .team__grid {
    max-width: 1300px;
  }
}

@media (min-width: 320px) {
  .class__container {
    flex-direction: column;
    gap: 3rem;
    padding: 4rem 5%;
    text-align: center;
  }

  .class__image {
    width: 100%;
  }

  .class__image .bg__blur {
    width: 15rem;
    height: 15rem;
    filter: blur(40px);
  }

  .class__video {
    max-height: 250px;
  }

  .class__content p {
    font-size: 1.5rem;
    line-height: 1.5;
  }

  .instagram__uiverse {
    width: 100%;
    max-width: 280px;
    padding: 0.8rem 1.2rem;
    font-size: 14px;
  }

  .instagram__uiverse span {
    font-size: 1.5rem;
  }

  .instagram__uiverse svg {
    width: 40px;
    height: 20px;
  }
}

@media (min-width: 480px) {
  .class__video {
    max-height: 320px;
  }

  .class__content p {
    font-size: 1.6rem;
  }
}

@media (min-width: 768px) {
  .class__container {
    padding: 6rem 6%;
    gap: 4rem;
  }

  .class__content p {
    font-size: 1.7rem;
  }

  .instagram__uiverse {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .class__container {
    flex-direction: row;
    padding: 6rem 8%;
    text-align: left;
  }

  .class__image {
    flex: 1;
  }

  .class__content {
    flex: 1;
  }

  .class__content p {
    font-size: 1.9rem;
  }

  .instagram__uiverse span {
    font-size: 1.8rem;
  }

  .instagram__uiverse svg {
    width: 50px;
    height: 25px;
  }
}

@media (min-width: 1440px) {
  .class__container {
    max-width: 1300px;
    margin: 0 auto;
  }
}

@media (min-width: 320px) {
  .join__container {
    padding: 4rem 1.5rem;
  }

  .section__header {
    font-size: 2.4rem;
  }

  .section__subheader {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
  }

  .join__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .join__card {
    padding: 1.5rem;
    gap: 1.2rem;
  }

  .join__card span {
    min-width: 4rem;
    min-height: 4rem;
    font-size: 2rem;
    padding: 0.8rem;
  }

  .join__card__content h4 {
    font-size: 1.5rem;
  }

  .join__card__content p {
    font-size: 1.3rem;
  }
}

@media (min-width: 480px) {
  .join__container {
    padding: 5rem 2rem;
  }

  .join__grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .section__header {
    font-size: 2.6rem;
  }
}

@media (min-width: 768px) {
  .join__container {
    padding: 6rem 3rem;
  }

  .section__header {
    font-size: 2.8rem;
  }

  .section__subheader {
    font-size: 1.5rem;
  }

  .join__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .join__container {
    max-width: 1100px;
    padding: 6rem 2rem;
  }

  .section__header {
    font-size: 3rem;
  }

  .section__subheader {
    font-size: 1.6rem;
  }

  .join__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (min-width: 1280px) {
  .join__container {
    max-width: 1280px;
  }
}

@media (min-width: 320px) {
  .price__container {
    padding: 4rem 1.5rem;
    margin-top: 5rem;
  }

  .section__header {
    font-size: 2.2rem;
  }

  .section__subheader {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
  }

  .price__grid {
    gap: 2.5rem;
  }

  .flip-card {
    width: 290px;
    height: 380px;
  }

  .flip-card-front h3 {
    font-size: 2.2rem;
  }

  .flip-card-front h4 {
    font-size: 1.6rem;
  }

  .para {
    font-size: 1.3rem;
  }

  .session-types li {
    font-size: 1.1rem;
    padding: 0.6rem 1rem 0.6rem 2.2rem;
  }

  .link {
    width: 90%;
    text-align: center;
    padding: 1rem;
  }
}

@media (min-width: 480px) {
  .flip-card {
    width: 320px;
    height: 400px;
  }

  .section__header {
    font-size: 2.5rem;
  }
}

@media (min-width: 768px) {
  .price__container {
    padding: 6rem 3rem;
    margin-top: 8rem;
  }

  .section__header {
    font-size: 2.8rem;
  }

  .price__grid {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .price__container {
    margin-top: 10rem;
  }

  .price__grid {
    gap: 3rem;
  }
}

@media (min-width: 1440px) {
  .price__container {
    max-width: 1400px;
    margin-inline: auto;
  }
}

@media (min-width: 320px) {
  .review__container {
    padding: 4rem 4%;
  }

  .section__header {
    font-size: 2.4rem;
  }

  .section__subheader {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
  }

  .review__card {
    padding: 2.5rem 1.5rem;
    min-height: 420px;
  }

  .review__author img {
    width: 120px;
    height: 120px;
    border-width: 3px;
  }

  .review__author h4 {
    font-size: 1.8rem;
    margin-top: 0.8rem;
  }

  .review__text {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-top: 0.8rem;
  }

  .carousel__indicators .dot {
    width: 10px;
    height: 10px;
  }
}

@media (min-width: 480px) {
  .review__author img {
    width: 140px;
    height: 140px;
  }

  .review__text {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .review__container {
    padding: 4rem 6%;
  }

  .section__header {
    font-size: 2.8rem;
  }

  .review__card {
    padding: 3rem 2rem;
    min-height: 480px;
  }

  .review__text {
    font-size: 1.6rem;
  }
}

@media (min-width: 1024px) {
  .review__container {
    padding: 4rem 8%;
  }

  .section__header {
    font-size: 3rem;
  }

  .review__author img {
    width: 160px;
    height: 160px;
  }

  .review__text {
    font-size: 1.7rem;
  }

  .review__card {
    min-height: 500px;
  }
}

@media (min-width: 1440px) {
  .review__container {
    max-width: 1200px;
  }
}

@media (min-width: 320px) {
  .footer__container {
    padding: 4rem 5% 2rem;
    flex-direction: column;
    gap: 3.5rem;
    text-align: center;
  }

  .footer__col {
    flex: 1 1 100%;
  }

  .footer__logo img {
    width: 150px;
    margin-left: 0;
    margin-top: 0;
  }

  .footer__socials {
    justify-content: center;
    gap: 1.5rem;
  }

  .footer__col h4 {
    font-size: 1.8rem;
  }

  .footer__col p,
  .footer__col a,
  #tip-footer,
  .footer__col #typed-vamos {
    font-size: 1.4rem;
  }

  .footer__email {
    justify-content: center;
  }

  #footerModal .footer-modal-content {
    padding: 3rem 1.5rem;
    width: 92%;
  }

  #footerModal h2 {
    font-size: 2rem;
  }

  #footerModal h3 {
    font-size: 1.6rem;
  }

  #footerModal p,
  #footerModal li {
    font-size: 1.4rem;
  }

  .footer__copyright {
    font-size: 1.2rem;
    padding: 1.5rem 1rem;
  }
}

@media (min-width: 480px) {
  .footer__logo img {
    width: 160px;
  }

  .footer__socials {
    gap: 2rem;
  }

  #footerModal .footer-modal-content {
    padding: 3.5rem 2.5rem;
  }
}

@media (min-width: 768px) {
  .footer__container {
    flex-direction: row;
    text-align: left;
    padding: 4rem 6%;
  }

  .footer__col {
    flex: 1 1 40%;
  }

  .footer__logo img {
    width: 180px;
    margin-left: -30px;
  }

  .footer__socials,
  .footer__email {
    justify-content: flex-start;
  }

  .footer__col h4 {
    font-size: 2rem;
  }

  #footerModal .footer-modal-content {
    width: 85%;
  }
}

@media (min-width: 1024px) {
  .footer__container {
    padding: 4rem 8%;
    gap: 2rem;
  }

  .footer__col {
    flex: 1;
  }

  .footer__logo img {
    margin-top: -35px;
  }

  #footerModal .footer-modal-content {
    max-width: 750px;
    padding: 3.5rem 3rem;
  }
}

@media (min-width: 1440px) {
  .footer__container {
    padding-left: 10%;
    padding-right: 10%;
  }
}


/* POPUP */

@media (min-width: 320px) {
  .imc-popup {
    bottom: 15px;
    right: auto;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    width: 240px;
  }

  .imc-popup.show {
    transform: translateX(-50%) translateY(0);
  }

  .imc-popup-header h4 {
    font-size: 1.2rem;
  }

  .imc-popup-body {
    font-size: 1.1rem;
  }
}

@media (min-width: 768px) {
  .imc-popup {
    bottom: 20px;
    right: 20px;
    left: auto;
    transform: translateY(120px);
    width: 260px;
  }

  .imc-popup.show {
    transform: translateY(0);
  }
}