@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;900&family=Noto+Sans+JP:wght@400;700&display=swap');

:root {
  /* Colores base existentes */
  --bg-color: #fff8f3;
  --snd-bg-color: #ffffff;
  --accent-bg: #1a1a1a;
  --accent-alt: #a4161a;
  --text-color: #2c2c2c;
  --text-light: #ffffff;
  --btn-text: #ffffff;
  --hover-shadow: rgba(0, 0, 0, 0.1);
  --highlight: #F54A2F;

  /* Colores inspirados en la tarjeta */
  --card-bg: #F5E9D7;
  /* Fondo con ondas */
  --dragon-red: #C0392B;
  /* Ilustración del dragón */
  --card-text: #4A4A4A;
  /* Texto principal */
  --decorative-blue: #A3B1B8;
  /* Detalles decorativos */
}

/* ===== GENERAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', 'Noto Sans JP', 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);
  min-height: 100vh;
}

/* ===== SCROLLBAR ===== */
::-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);
}

/* ===== TITULOS DE SECCIÓN ===== */
.section__header {
  font-size: 3.6rem;
  color: var(--accent-bg);
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: 'Merriweather', serif;
}

.section__header::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.2rem;
  transform: translateX(-50%);
  width: 6rem;
  height: 0.4rem;
  background: var(--accent-alt);
  border-radius: 1rem;
  font-family: 'Merriweather', serif;
}

section[id] {
  scroll-margin-top: 120px;
}


/* ===== LOADER===== */
#loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--snd-bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

#loader-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.custom-loader {
  width: 120px;
  height: 22px;
  border-radius: 20px;
  color: var(--accent-bg);
  border: 2px solid currentColor;
  position: relative;
}

.custom-loader::before {
  content: "";
  position: absolute;
  margin: 2px;
  inset: 0 100% 0 0;
  border-radius: inherit;
  background: var(--highlight);
  animation: p6 2s infinite;
}

@keyframes p6 {
  100% {
    inset: 0;
  }
}


/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 12rem;
  padding: 0 6%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 2px solid #000;
}

/* LOGO*/
.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  width: 160px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  margin-right: 2rem;
}

.navbar a {
  position: relative;
  font-size: 1.8rem;
  color: var(--text-color);
  padding: 0.5rem 0.8rem;
  border-radius: 0.4rem;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-family: 'Merriweather', serif;
}

.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);
}



/* ===== MENU ICON ===== */
.menu-icon {
  display: none;
  font-size: 3rem;
  color: var(--accent-bg);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 1.2rem;
}

.menu-icon:hover {
  color: var(--accent-alt);
  transform: scale(1.1);
}

/* ===== NAVBAR RESPONSIVE ===== */
@media (max-width: 992px) {
  .menu-icon {
    display: block;
  }

  .navbar {
    position: fixed;
    top: 7rem;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 2.5rem;
    transition: all 0.5s ease;
    box-shadow: -6px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding-top: 3rem;
  }

  .navbar.active {
    right: 0;
  }

  .navbar a {
    font-size: 1.8rem;
    color: var(--accent-bg);
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease-out;
  }

  .navbar.active a {
    opacity: 1;
    transform: translateX(0);
  }

  .navbar a:hover {
    color: var(--accent-alt);
  }
}




/* HOME */
.home {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15rem 6% 10rem 6%;
  background: var(--bg-color);
}

.home-container {
  display: flex;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin-top: 3rem;
}

.home-video {
  width: 100%;
  max-width: 600px;
  height: 500px;
  border-radius: 1.2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  display: block;
  overflow: hidden;
}



.home-text {
  flex: 1;
}

.home-text h1 {
  font-size: 3rem;
  color: var(--accent-bg);
  margin-bottom: 2rem;
  font-family: 'Merriweather', serif;
}

.home-text p {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  font-family: 'Merriweather', serif;
}

.home-text ul {
  list-style: disc inside;
  margin-left: 0;
  margin-bottom: 2.5rem;
  font-size: 1.3rem;
  line-height: 2.2rem;
  font-family: 'Merriweather', serif;
  letter-spacing: 0.05em;
  color: var(--accent-bg);
}

.home-text ul li {
  margin-bottom: 1rem;
}

.home-text ul li strong {
  color: var(--accent-alt);
  font-size: 1.85rem;
}

.home-text ul li:has(strong) {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 2.6rem;
  padding: 1rem 1.5rem;
  color: var(--accent-bg);
  font-family: 'Merriweather', serif;
}

.home-text ul li a {
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.3s ease;
}

.home-text ul li a:hover {
  color: var(--highlight);
  text-decoration: underline;
  transform: translateX(2px);
}



.home-text .btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--accent-alt);
  color: var(--btn-text);
  border-radius: 0.6rem;
  transition: all 0.3s ease;
}

.home-text .btn:hover {
  background: var(--highlight);
}




/* CLASSES */
.classes {
  background: var(--bg-color);
  padding: 8rem 6%;
  text-align: center;
}

.section__header {
  font-family: 'Merriweather', serif;
  font-size: 2.8rem;
  color: var(--accent-bg);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.section__subtext {
  font-size: 1.8rem;
  color: #666;
  margin-bottom: 4rem;
  font-family: 'Merriweather', serif;
}

.classes-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  justify-content: center;
  align-items: stretch;
}

.class-card {
  background: linear-gradient(to bottom right, #faf5ef, #fdfdfb);
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}



.class-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.class-content {
  padding: 2rem;
}

.class-content i {
  font-size: 3rem;
  color: var(--accent-alt);
  margin-bottom: 1rem;
  font-family: 'Merriweather', serif;
}

.class-content h3 {
  font-size: 1.8rem;
  color: var(--accent-bg);
  margin-bottom: 1rem;
  font-family: 'Merriweather', serif;
}

.class-content p {
  font-size: 1.8rem;
  color: #555;
  line-height: 1.8rem;
  font-family: 'Merriweather', serif;
}

.class-content p strong {
  color: var(--accent-alt);
  font-weight: 700;
}



/* ===== PRICING SECTION ===== */
.pricing {
  padding: 9rem 6%;
  text-align: center;
  margin-top: -10rem;
}

.pricing-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: -2rem;
}


.price-card {
  background: var(--card-bg);
  flex: 1 1 280px;
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.price-card i {
  font-size: 4rem;
  color: var(--accent-alt);
  margin-bottom: 1rem;
  font-family: 'Merriweather', serif;

}

.price-card h3 {
  font-size: 2.2rem;
  color: var(--accent-bg);
  margin-bottom: 1rem;
  font-family: 'Merriweather', serif;

}

.price-card .price {
  font-size: 2rem;
  color: var(--accent-alt);
  margin-bottom: 1.5rem;
  font-family: 'Merriweather', serif;
}

.price-card ul {
  list-style: none;
  margin-bottom: 2.5rem;
  padding: 0;

}

.price-card ul li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
  font-size: 1.6rem;
  color: var(--text-color);
  line-height: 2.4rem;
  margin-bottom: 0.8rem;
  text-align: left;
  font-family: 'Merriweather', serif;
}


.price-card ul li i {
  color: var(--accent-alt);
  font-size: 1.8rem;
  background: rgba(244, 74, 47, 0.1);
  border-radius: 50%;
  padding: 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-family: 'Merriweather', serif;
}

.register-text {
  font-size: 1.6rem;
  color: #444;
  margin: 1.5rem 0;
  line-height: 1.8rem;
  font-family: 'Merriweather', serif;
}

.form-link {
  color: var(--accent-alt);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.form-link:hover {
  color: var(--highlight);
}


/* Botón */
.price-card .btn {
  padding: 1rem 2rem;
  background: var(--accent-alt);
  color: var(--btn-text);
  border-radius: 0.6rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.price-card .btn:hover {
  background: var(--highlight);
}


/* ===== GALERÍA ===== */
.gallery {
  padding: 8rem 6%;
  text-align: center;
  background: var(--snd-bg-color);
  overflow: hidden;
}

.gallery-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 3rem;
}

.gallery-track {
  display: flex;
  gap: 2rem;
  animation: scrollGallery 30s linear infinite;
}

.gallery-track img {
  width: 350px;
  height: 230px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

@keyframes scrollGallery {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}





/* ===== FOOTER ===== */
.footer__container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem 8%;
  background: var(--accent-bg);
  color: #fff;
}

.footer__col {
  flex: 1 1 25rem;
}

.footer__logo img {
  width: 160px;
  margin-top: -10px;
}

.footer__col h4 {
  font-size: 2rem;
  margin-top: 1.5rem;
  color: var(--highlight);
  font-family: 'Merriweather', serif;
}

.footer__col p,
.footer__col a {
  font-size: 1.8rem;
  color: #f1f1f1;
  margin: 0.5rem 0;
  transition: 0.3s;
  font-family: 'Merriweather', serif;
}

/* Redes sociales */
.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: transparent;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}

.svgContainer i {
  font-size: 2.4rem;
  color: var(--btn-text);
  transition: 0.3s;
}

.Btn:hover i {
  transform: scale(1.2);
}

/* Colores hover de cada red social */
.Btn[href*="instagram"]:hover i {
  color: #E1306C;
}

.Btn[href*="wa.me"]:hover i {
  color: #25D366;
}

.Btn[href*="tiktok"]:hover i {
  color: #fff;
  transform: scale(1.2);
}

.Btn[href*="facebook"]:hover i {
  color: #1877F2;
}

/* Enlaces rápidos (nueva columna) */
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.footer__links a {
  font-size: 1.8rem;
  color: #f1f1f1;
  text-decoration: none;
  position: relative;
  width: fit-content;
  transition: color 0.3s ease;
  font-family: 'Merriweather', serif;
}

/* Efecto hover animado */
.footer__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background-color: var(--accent-);
  transition: width 0.3s ease;
}

.footer__links a:hover {
  color: var(--accent-alt);
}


/* Íconos en textos */
.footer__col p i.bx {
  color: #fbc02d;
  margin-right: 0.4rem;
  vertical-align: middle;
}

/* Enlace de correo */
.footer__email {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #ecf0f1;
  font-size: 1.6rem;
  transition: color 0.3s;
  font-family: 'Merriweather', serif;
}

.footer__email i {
  font-size: 2rem;
  color: var(--highlight);
  font-family: 'Merriweather', serif;
}

.footer__email span {
  font-size: 2rem;
  font-family: 'Merriweather', serif;
}

/* Copyright */
.footer__copyright {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 1.6rem;
  color: #ccc;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-family: "Merriweather", serif;
}

.footer__copyright span#currentYear {
  font-weight: bold;
  color: var(--accent-alt);
}

.footer__brand {
  color: #ffffff;
  font-weight: bold;
}




/* MEDIA QUERIES COMPLETOS */
/* === ≤ 480px (≈30%) - Móviles pequeños === */
@media (max-width: 480px) {
  html {
    font-size: 50%;
  }

  .section__header {
    font-size: 2.4rem;
    margin-bottom: 2.5rem;
  }

  .section__header::after {
    width: 4rem;
    height: 0.3rem;
  }

  .panWrapper {
    width: 140px;
    gap: 12px;
  }

  .food {
    width: 60%;
    left: 5px;
  }

  .panBase {
    width: 60%;
    height: 18px;
  }

  .panHandle {
    width: 50%;
    height: 8px;
  }

  .panShadow {
    width: 50px;
    height: 6px;
    margin-left: 10px;
  }
}

/* === ≤ 768px (≈50%) - Tablets y móviles grandes === */
@media (max-width: 768px) {
  html {
    font-size: 56.25%;
  }

  .section__header {
    font-size: 3rem;
    margin-bottom: 3rem;
  }

  .panWrapper {
    width: 160px;
    gap: 16px;
  }

  .food {
    width: 50%;
    left: 8px;
  }

  .panBase {
    width: 55%;
    height: 20px;
  }

  .panHandle {
    width: 45%;
  }

  .panShadow {
    width: 60px;
    height: 7px;
  }
}

/* === ≤ 1024px (≈70%) - Laptops pequeños === */
@media (max-width: 1024px) {
  html {
    font-size: 60%;
  }

  .section__header {
    font-size: 3.2rem;
  }

  .panWrapper {
    width: 180px;
  }

  .food {
    width: 48%;
  }
}

/* === ≤ 1280px (≈85%) - Escritorios medianos === */
@media (max-width: 1280px) {
  html {
    font-size: 62.5%;
  }

  .section__header {
    font-size: 3.4rem;
  }

  .panWrapper {
    width: 190px;
  }
}

/* === ≥ 1440px (100%) - Escritorios grandes === */
@media (min-width: 1440px) {
  html {
    font-size: 65%;
  }

  .section__header {
    font-size: 3.6rem;
  }

  .panWrapper {
    width: 200px;
  }
}


/* === ≤ 480px (≈30%) - Móviles pequeños === */
@media (max-width: 480px) {
  .header {
    height: 9rem;
    padding: 0 4%;
  }

  .logo-img {
    width: 120px;
  }

  .navbar a {
    font-size: 1.6rem;
  }

  .menu-icon {
    font-size: 2.6rem;
    margin-left: 0.8rem;
  }

  .home {
    padding: 12rem 5% 6rem;
    flex-direction: column;
  }

  .home-container {
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
  }

  .home-video {
    max-width: 100%;
    height: 280px;
  }

  .home-text h1 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
  }

  .home-text p {
    font-size: 1.4rem;
  }

  .home-text ul {
    font-size: 1.2rem;
    line-height: 2rem;
  }

  .home-text ul li strong {
    font-size: 1.6rem;
  }

  .home-text ul li:has(strong) {
    font-size: 1.6rem;
    line-height: 2.4rem;
    padding: 0.8rem 1.2rem;
  }

  .home-text .btn {
    font-size: 1.4rem;
    padding: 0.8rem 1.6rem;
  }
}

/* === ≤ 768px (≈50%) - Tablets y móviles grandes === */
@media (max-width: 768px) {
  .header {
    height: 10rem;
    padding: 0 5%;
  }

  .logo-img {
    width: 140px;
  }

  .navbar a {
    font-size: 1.7rem;
  }

  .menu-icon {
    font-size: 2.8rem;
  }

  .home {
    padding: 13rem 6% 8rem;
    flex-direction: column;
  }

  .home-container {
    flex-direction: column;
    gap: 3.5rem;
  }

  .home-video {
    max-width: 100%;
    height: 360px;
  }

  .home-text h1 {
    font-size: 2.6rem;
  }

  .home-text p {
    font-size: 1.5rem;
  }

  .home-text ul {
    font-size: 1.3rem;
  }

  .home-text ul li strong {
    font-size: 1.7rem;
  }

  .home-text ul li:has(strong) {
    font-size: 1.7rem;
    line-height: 2.5rem;
    padding: 0.9rem 1.4rem;
  }

  .home-text .btn {
    font-size: 1.5rem;
    padding: 0.9rem 1.8rem;
  }
}

/* === ≤ 1024px (≈70%) - Laptops pequeños === */
@media (max-width: 1024px) {
  .header {
    height: 11rem;
    padding: 0 5.5%;
  }

  .logo-img {
    width: 150px;
  }

  .navbar a {
    font-size: 1.8rem;
  }

  .home {
    padding: 14rem 6% 9rem;
  }

  .home-container {
    gap: 4rem;
  }

  .home-video {
    max-width: 500px;
    height: 420px;
  }

  .home-text h1 {
    font-size: 2.8rem;
  }

  .home-text p {
    font-size: 1.6rem;
  }

  .home-text ul li strong {
    font-size: 1.8rem;
  }

  .home-text ul li:has(strong) {
    font-size: 1.8rem;
    line-height: 2.6rem;
    padding: 1rem 1.5rem;
  }

  .home-text .btn {
    font-size: 1.6rem;
    padding: 1rem 2rem;
  }
}

/* === ≤ 1280px (≈85%) - Escritorios medianos === */
@media (max-width: 1280px) {
  .header {
    height: 11.5rem;
    padding: 0 6%;
  }

  .logo-img {
    width: 160px;
  }

  .home {
    padding: 15rem 6% 10rem;
  }

  .home-video {
    max-width: 550px;
    height: 480px;
  }

  .home-text h1 {
    font-size: 3rem;
  }

  .home-text ul li strong {
    font-size: 1.85rem;
  }

  .home-text ul li:has(strong) {
    font-size: 1.85rem;
  }
}

/* === ≥ 1440px (100%) - Escritorios grandes === */
@media (min-width: 1440px) {
  .header {
    height: 12rem;
    padding: 0 8%;
  }

  .logo-img {
    width: 180px;
  }

  .home {
    padding: 15rem 8% 10rem;
  }

  .home-video {
    max-width: 600px;
    height: 500px;
  }

  .home-text h1 {
    font-size: 3.2rem;
  }

  .home-text p {
    font-size: 1.6rem;
  }

  .home-text ul li strong {
    font-size: 1.9rem;
  }

  .home-text ul li:has(strong) {
    font-size: 1.9rem;
    line-height: 2.8rem;
    padding: 1.2rem 1.6rem;
  }

  .home-text .btn {
    font-size: 1.6rem;
    padding: 1rem 2.2rem;
  }
}


/* === ≤ 480px (≈30%) - Móviles pequeños === */
@media (max-width: 480px) and (max-height: 740px) {
  .pricing {
    padding: 4rem 5% 5rem;
    margin-top: 0;
  }

  .pricing-container {
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 0;
  }

  .price-card {
    padding: 1.2rem 1rem;
    box-sizing: border-box;
    max-height: none;
    overflow: visible;
  }

  .price-card i {
    font-size: 2.4rem;
    margin-bottom: 0.6rem;
  }

  .price-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
  }

  .price-card .price {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .price-card ul {
    margin-bottom: 1.5rem;
  }

  .price-card ul li {
    font-size: 1.3rem;
    line-height: 1.6rem;
    margin-bottom: 0.5rem;
  }

  .register-text {
    font-size: 1.3rem;
    line-height: 1.5rem;
    margin: 1rem 0;
  }

  .price-card .btn {
    font-size: 1.3rem;
    padding: 0.6rem 1.2rem;
  }
}

/* === ≤ 768px (≈50%) - Tablets y móviles grandes === */
@media (max-width: 768px) {
  .classes {
    padding: 7rem 6%;
  }

  .section__header {
    font-size: 2.4rem;
  }

  .section__subtext {
    font-size: 1.6rem;
  }

  .classes-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
  }

  .class-img {
    height: 180px;
  }

  .class-content i {
    font-size: 2.6rem;
  }

  .class-content h3 {
    font-size: 1.7rem;
  }

  .class-content p {
    font-size: 1.6rem;
  }

  .pricing {
    padding: 7rem 6%;
    margin-top: -8rem;
  }

  .pricing-container {
    gap: 2.5rem;
  }

  .price-card h3 {
    font-size: 2rem;
  }

  .price-card .price {
    font-size: 1.9rem;
  }

  .price-card ul li {
    font-size: 1.5rem;
  }

  .price-card .btn {
    font-size: 1.5rem;
  }
}

/* === ≤ 1024px (≈70%) - Laptops pequeños === */
@media (max-width: 1024px) {
  .classes {
    padding: 8rem 6%;
  }

  .section__header {
    font-size: 2.6rem;
  }

  .classes-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .class-img {
    height: 200px;
  }

  .class-content p {
    font-size: 1.7rem;
  }

  .pricing {
    padding: 8rem 6%;
    margin-top: -9rem;
  }

  .price-card h3 {
    font-size: 2.1rem;
  }

  .price-card ul li {
    font-size: 1.55rem;
  }

  .price-card .btn {
    font-size: 1.6rem;
  }
}

/* === ≤ 1280px (≈85%) - Escritorios medianos === */
@media (max-width: 1280px) {
  .classes {
    padding: 8rem 6%;
  }

  .section__header {
    font-size: 2.8rem;
  }

  .pricing {
    padding: 9rem 6%;
    margin-top: -10rem;
  }

  .price-card h3 {
    font-size: 2.2rem;
  }

  .price-card .price {
    font-size: 2rem;
  }

  .price-card ul li {
    font-size: 1.6rem;
  }
}

/* === ≥ 1440px (100%) - Escritorios grandes === */
@media (min-width: 1440px) {
  .classes {
    padding: 9rem 8%;
  }

  .section__header {
    font-size: 3rem;
  }

  .section__subtext {
    font-size: 2rem;
  }

  .class-content h3 {
    font-size: 2rem;
  }

  .class-content p {
    font-size: 1.8rem;
  }

  .pricing {
    padding: 10rem 8%;
    margin-top: -10rem;
  }

  .price-card h3 {
    font-size: 2.4rem;
  }

  .price-card .price {
    font-size: 2.2rem;
  }

  .price-card ul li {
    font-size: 1.7rem;
  }

  .price-card .btn {
    font-size: 1.6rem;
    padding: 1rem 2.2rem;
  }
}


/* === ≤ 480px (≈30%) - Móviles pequeños === */
@media (max-width: 480px) {
  .gallery {
    padding: 5rem 5%;
  }

  .gallery-slider {
    margin-top: 2rem;
  }

  .gallery-track {
    gap: 1.5rem;
  }

  .gallery-track img {
    width: 260px;
    height: 180px;
    border-radius: 0.8rem;
  }

  .footer__container {
    flex-direction: column;
    padding: 2.5rem 5%;
    gap: 1.5rem;
  }

  .footer__col h4 {
    font-size: 1.8rem;
  }

  .footer__col p,
  .footer__col a,
  .footer__links a {
    font-size: 1.5rem;
  }

  .footer__email,
  .footer__email span {
    font-size: 1.5rem;
  }

  .footer__copyright {
    font-size: 1.4rem;
  }

  .svgContainer i {
    font-size: 2rem;
  }

  .Btn {
    width: 3.6rem;
    height: 3.6rem;
  }
}

/* === ≤ 768px (≈50%) - Tablets y móviles grandes === */
@media (max-width: 768px) {
  .gallery {
    padding: 6rem 6%;
  }

  .gallery-track img {
    width: 300px;
    height: 200px;
  }

  .footer__container {
    padding: 3rem 6%;
    gap: 2rem;
  }

  .footer__col h4 {
    font-size: 1.9rem;
  }

  .footer__col p,
  .footer__col a,
  .footer__links a {
    font-size: 1.6rem;
  }

  .footer__email span {
    font-size: 1.8rem;
  }

  .footer__copyright {
    font-size: 1.5rem;
  }
}

/* === ≤ 1024px (≈70%) - Laptops pequeños === */
@media (max-width: 1024px) {
  .gallery {
    padding: 7rem 6%;
  }

  .gallery-track img {
    width: 320px;
    height: 210px;
  }

  .footer__container {
    padding: 3rem 7%;
  }

  .footer__col p,
  .footer__col a,
  .footer__links a {
    font-size: 1.7rem;
  }

  .footer__email span {
    font-size: 1.9rem;
  }

  .footer__copyright {
    font-size: 1.6rem;
  }
}

/* === ≤ 1280px (≈85%) - Escritorios medianos === */
@media (max-width: 1280px) {
  .gallery {
    padding: 8rem 6%;
  }

  .gallery-track img {
    width: 340px;
    height: 220px;
  }

  .footer__container {
    padding: 3rem 8%;
  }

  .footer__col h4 {
    font-size: 2rem;
  }

  .footer__col p,
  .footer__col a,
  .footer__links a {
    font-size: 1.8rem;
  }

  .footer__email span {
    font-size: 2rem;
  }

  .footer__copyright {
    font-size: 1.6rem;
  }
}

/* === ≥ 1440px (100%) - Escritorios grandes === */
@media (min-width: 1440px) {
  .gallery {
    padding: 9rem 8%;
  }

  .gallery-track img {
    width: 350px;
    height: 230px;
  }

  .footer__container {
    padding: 4rem 10%;
    gap: 2.5rem;
  }

  .footer__col h4 {
    font-size: 2.2rem;
  }

  .footer__col p,
  .footer__col a,
  .footer__links a {
    font-size: 1.9rem;
  }

  .footer__email span {
    font-size: 2.1rem;
  }

  .footer__copyright {
    font-size: 1.7rem;
  }
}