:root {
  --color-primary: #1f4fa3;
  --color-secondary: #5fa8ff;
  --color-accent: #e35b4f;
  --color-dark: #1f2937;
  --color-text: #4b5563;
  --color-light: #f4f7fb;
  --color-hero: #eaf2ff;
  --color-white: #ffffff;
  --color-border: #dbe4f2;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: 'Inter', sans-serif;
  background: var(--color-dark);
  color: var(--color-text);
  line-height: 1.5;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* HEADER */

.topbar {
  background-color: #1f2937;
  padding: 16px 0;
}

.navbar {
  background-image: url("img/raya.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 90px;
  display: flex;
  align-items: center;
  overflow: visible;
  border-radius: 0;
}

.nav-container {
  width: min(1180px, 92%);
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 58px;
  width: auto;
  filter: brightness(0) invert(1);
}

.logo-text {
  color: white;
  font-size: 1.45rem;
  font-weight: 700;
}


/* BOTÓN HAMBURGUESA */
.menu-toggle {
  font-size: 32px;
  color: white;
  cursor: pointer;
  z-index: 1000;
}

/* MENÚ */
.nav-menu {
  position: absolute;
  top: 100px;
  right: 55px;
  background: white;
  border-radius: 12px;
  padding: 8px 0;
  display: none;
  flex-direction: column;
  gap: 0;
  min-width: 150px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  overflow: hidden;
  z-index: 9999;
}

.nav-menu a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 600;
  padding: 10px 16px;
  line-height: 1.2;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.nav-menu a:hover {
  background: #eef5ff;
  color: #1f4fa3;
  transform: translateX(4px);
}


/* CUANDO ESTÁ ACTIVO */
.nav-menu.active {
  display: flex;
}

.menu {
  display: flex;
  align-items: center;
  gap: 42px;
}

.menu a {
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  padding-bottom: 6px;
  border-bottom: 3px solid transparent;
  transition: 0.2s ease;
}

.menu a:hover,
.menu a.active {
  color: white;
  border-bottom-color: white;
}

/* HERO */
.hero::before{
    content:"";
    position:absolute;
    inset:0;

    background: linear-gradient(
        90deg,
        rgba(240,244,250,0.45) 0%,
        rgba(240,244,250,0.20) 40%,
        rgba(240,244,250,0.02) 100%
    );

    z-index:1;
}

.hero {
  background: linear-gradient(135deg, #edf4ff 0%, #dfeaff 100%);
  overflow: hidden;
  position: relative;
}

.hero-visual img {
  width: 100%;
  max-width: 500px;
  opacity: 0.25;
  filter: blur(1px);
}

.hero-grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 20px;
}

.hero-content {
  max-width: 620px;
  padding: 60px 0;
  position: relative;
  z-index: 2;
}

.tag {
  display: inline-block;
  background: #0d98a7;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 4.2rem;
  line-height: 1.05;
  color: var(--color-dark);
  margin-bottom: 22px;
  letter-spacing: -1.5px;
}

.hero-text {
  font-size: 1.18rem;
  max-width: 720px;
  color: var(--color-text);
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 14px;
  padding: 18px 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(220, 98, 88, 0.18);
  transition: 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  position: absolute;
  right: -140px;
  width: 780px;
  max-width: none;
  opacity: 0.14;
  filter: saturate(90%);
}

/* FILTRO */

.filter-section {
  padding: 58px 0 18px;
}

.filter-box h2 {
  font-size: 3rem;
  line-height: 1.1;
  color: var(--color-dark);
  margin-bottom: 26px;
}

.filter-controls {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

select {
  min-width: 320px;
  padding: 16px 18px;
  font-size: 1.05rem;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: white;
  color: var(--color-text);
  outline: none;
}
.categorias-section {
  padding: 80px 0;
  background: #f3f7fb;
}

.categorias-section h2 {
  font-size: 3rem;
  color: var(--color-dark);
  margin-bottom: 35px;
}

.categorias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.categoria-card {
  position: relative;
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 28px;
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.18);
  transition:all .35s ease;
}

.categoria-card:hover{
    transform:translateY(-6px) scale(1.01);
    box-shadow:0 18px 40px rgba(0,0,0,.18);
}

.categoria-card img{
    transition:transform .5s ease;
}

.categoria-card:hover img{
    transform:scale(1.05);
}

.categoria-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  z-index: 1;
}

.categoria-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.72;
}

.categoria-card span {
  position: relative;
  z-index: 3;
  background: white;
  color: #111827;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.categoria-azul::before {
  background-image: url("img/formacion.png");
  background-position: center;
}

.categoria-azul::after {
  background: linear-gradient(180deg, rgba(31, 121, 209, 0.45), rgba(31, 121, 209, 0.95));
}

.categoria-verde::before {
  background-image: url("img/higiene.png");
  background-position: center;
}

.categoria-verde::after {
  background: linear-gradient(180deg, rgba(46, 159, 92, 0.45), rgba(46, 159, 92, 0.95));
}

.categoria-roja::before {
  background-image: url("img/criminalistica.png");
  background-position: center;
}

.categoria-roja::after {
  background: linear-gradient(180deg, rgba(232, 53, 43, 0.45), rgba(232, 53, 43, 0.95));
}
/* CURSOS */

.courses-section {
  padding: 20px 0 70px;
}

.course-card {
  background: linear-gradient(
    145deg,
    rgba(90, 158, 232, 0.98),
    rgba(76, 142, 220, 0.96)
  );

  border: 1px solid rgba(255,255,255,0.22);

  border-radius: 24px;

  overflow: hidden;

  box-shadow:
    0 20px 50px rgba(0,0,0,0.10),
    inset 0 1px 0 rgba(255,255,255,0.15);

  margin-bottom: 38px;

  animation: fadeUp 0.8s ease;

  backdrop-filter: blur(8px);

  transition: all 0.35s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 28px 60px rgba(0,0,0,0.14),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.course-main {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  flex-wrap: wrap;
}

.course-info {
  flex: 1;
  min-width: 280px;
}

.course-category {
  display: inline-block;
  color: var(--color-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.course-info h3 {
  font-size: 2rem;
  line-height: 1.15;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.course-meta {
  margin-bottom: 8px;
  color: var(--color-text);
}

.course-price-box {
  width: 290px;
  background: #e9edf3;
  border-radius: 18px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  z-index: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  border: 2px solid transparent;
  box-shadow: 0 18px 45px rgba(0,0,0,0.10);
  transform: scale(1.02);
}

.course-price-box::before {
  content: "";
  position: absolute;
  inset: -20px;
  z-index: -2;
  border-radius: 24px;

  background: linear-gradient(
    90deg,
    #ff3b30,
    #4da3ff,
    #6dff8b,
    #ff3b30
  );

  background-size: 400% 400%;
  animation: borderMove 5s linear infinite;

  filter: blur(1px);
}

.course-price-box::after {
  content: "";
  position: absolute;
  inset: 30px;
  z-index: -1;
  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.96),
      rgba(210, 211, 213, 0.92)
    );

  backdrop-filter: blur(8px);
}

@keyframes borderMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

.course-price-box * {
  position: relative;
  z-index: 2;
}

.price-label {
  color: var(--color-secondary);
  font-weight: 700;
  margin-bottom: 8px;
}

.price {
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 22px;
}

.accordion {
  padding: 0 30px 30px;
}


.accordion-btn {
  width: 100%;
  background: #f9fafb;
  color: var(--color-dark);

  border: none;

  border-radius: 20px;

  text-align: left;
  padding: 20px 24px;
  margin-top: 14px;

  font-size: 1.05rem;
  font-weight: 700;

  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;

  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);

  overflow: hidden;
}


.accordion-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(229,45,39,0.18);
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.accordion-btn span {
  color: var(--color-accent);
  font-size: 1.5rem;
  line-height: 1;
}


.accordion-content {
  max-height: 0;
  overflow: hidden;

  opacity: 0;
  transform: translateY(-8px);

  padding: 0 24px;
  color: var(--color-text);
  background: #ffffff;

  border: 1px solid transparent;
  border-radius: 20px;

  margin-top: 0;

  transition:
    max-height 0.5s ease,
    opacity 0.35s ease,
    transform 0.35s ease,
    padding 0.35s ease,
    margin-top 0.35s ease,
    border-color 0.35s ease;
}

.accordion-content.show {
  max-height: 2000px;

  opacity: 1;
  transform: translateY(0);

  padding: 26px 30px;
  margin-top: 10px;

  border-color: #dbe4f2;
  border-radius: 20px;

  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.accordion-btn.active {
  border-radius: 20px;
  background: #ffffff;
  margin-bottom: 0;
}

.accordion-content ul {
  padding-left: 18px;
}
.cronograma-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  padding-left: 20px;
}

.cronograma-list li {
  background: #f8fafc;
  border-left: 4px solid var(--color-accent);
  padding: 14px 16px;
  border-radius: 12px;
  line-height: 1.4;
}

.cronograma-list span {
  display: block;
  margin-top: 5px;
  color: #4b5563;
  font-size: 0.95rem;
}

/* CONTACTO */

.contact-section {
  padding: 70px 0;
  border-top: 1px solid var(--color-border);
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.contact-info {
  flex: 1;
}

.contact-arrows {
  flex: 1;
  display: flex;
  justify-content: center;
}

.contact-arrows img {
  max-width: 260px;
  width: 100%;
  animation: arrowsMove 1.4s ease-in-out infinite;
}

.contact-button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}


.btn-play img {
  width: 180px;
  height: auto;
}

.curso-hero {
  margin: 40px auto;
  max-width: 900px;
  text-align: center;
}

.curso-titulo {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 15px;
}

.curso-descripcion {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

.capacitadora-section {
  margin: 60px auto 20px;
}

.capacitadora-card {
  max-width: 850px;
  margin: 0 auto;
  background: white;
  border-radius: 18px;
  padding: 35px;

  display: flex;
  align-items: center;
  gap: 35px;

  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.4);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.capacitadora-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(0,0,0,0.12);
}


.capacitadora-img-box img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #f0f4fa;
}

.capacitadora-info {
  text-align: left;
}

.section-label {
  display: inline-block;
  color: #e6534e;
  font-weight: 700;
  margin-bottom: 8px;
}

.capacitadora-info h2 {
  margin-bottom: 12px;
  color: #102033;
}

.capacitadora-info p {
  color: #334155;
  line-height: 1.6;
}

.inscripcion-center {
  display: flex;
  justify-content: center;
  margin: 35px 0 55px;
}

body {
  background: linear-gradient(
    180deg,
    #e7eef7 0%,
    #d9e2ec 100%
  );
}

.inscripcion-center {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}



.contact-section {
  background: white;
  padding: 70px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  position: relative;
  overflow: visible;
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

.contact-section h2 {
  color: var(--color-dark);
  font-size: 2.2rem;
  margin-bottom: 14px;
}




.btn-aula {
  background: linear-gradient(135deg, #027fec, #04c3cd);
  color: white;
  padding: 16px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: 0.3s ease;
}

.btn-aula:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.contact-arrows img {
  max-width: 300px;
  width: 100%;
  animation: arrowsMove 1.4s ease-in-out infinite;
}

.coming-soon {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

  background:
    linear-gradient(
      rgba(20, 50, 25, 0.78),
      rgba(20, 50, 25, 0.78)
    ),
    url("img/higiene.png");

  background-size: 120%;
  background-position: center 30%;
  background-attachment: fixed;
}

.coming-box {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);

  padding: 55px 70px;

  border-radius: 24px;

  text-align: center;

  max-width: 700px;

  box-shadow: 0 25px 60px rgba(0,0,0,0.22);
}

.coming-box h1 {
  font-size: 3.6rem;
  color: #2e7d32;
  margin-bottom: 18px;
}

.coming-box p {
  font-size: 1.2rem;
  color: #475569;
  line-height: 1.6;
}

/* VARIANTE ROJA */

.coming-soon.red {
  min-height: 100vh;

  background:
    linear-gradient(
      rgba(70, 12, 16, 0.78),
      rgba(70, 12, 16, 0.78)
    ),
    url("img/criminalistica.png");

  background-size: 100%;
  background-position: center 40%;
  background-attachment: fixed;
}

.coming-soon.red .coming-box h1 {
  color: #c62828;
}



@keyframes arrowsMove {
  0% {
    transform: translateX(0);
    opacity: 0.65;
  }

  50% {
    transform: translateX(18px);
    opacity: 1;
  }

  100% {
    transform: translateX(0);
    opacity: 0.65;
  }
}

.footer {
  background: var(--color-dark);
  padding: 35px 0 28px;
  color: white;
  text-align: center;
}

.footer-container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.footer-social-bar {
  background-image: url("img/raya.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  height: 35px;

  width: 100%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  justify-content: space-around;
  align-items: center;

  margin-bottom: 24px;
}

.footer-social-bar a {
  width: 52px;
  height: 52px;
  background: white;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: 0.2s ease;
}

.footer-social-bar a:hover {
  transform: translateY(-3px) scale(1.05);
}

.footer-social-bar img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.footer p {
  margin: 0;
  color: white;
  font-weight: 500;
}

/* RESPONSIVE */



@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 24px;
    margin-bottom: 40px;
  }
}

.inscription-page {
  background: #1f2937;
  padding: 45px 0 30px;
  min-height: auto;
}

.inscription-container {
  max-width: 850px;
}

.inscription-page h1 {
  font-size: 2.8rem;
  color: var(--color-white);
  margin-bottom: 10px;
}

.inscription-intro {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
}

.form-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 16px 40px rgba(31, 79, 163, 0.08);
  margin-bottom: 26px;
}

.form-card h3 {
  color: var(--color-dark);
  font-size: 1.45rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.course-summary {
  background: #f8fafc;
  border-left: 5px solid var(--color-accent);
  padding: 22px;
  border-radius: 12px;
  margin-bottom: 26px;
}

.course-summary h4 {
  color: var(--color-dark);
  font-size: 1.25rem;
  margin-bottom: 18px;
}

.course-summary p {
  margin-bottom: 14px;
  color: var(--color-text);
}

.course-summary span {
  display: block;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.cronograma-list {
  grid-template-columns: 1fr;
}

.form-card label {
  display: block;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.form-card input,
.form-card select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: white;
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.checkbox-group {
  margin: 12px 0 26px;
  display: grid;
  gap: 12px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.checkbox-group input {
  width: auto;
  margin: 0;
}

.terms {
  margin-top: 20px;
  color: var(--color-text);
  font-size: 0.95rem;
}

.hidden {
  display: none !important;
}
.course-details {
  margin: 20px auto 40px;
}

/* =========================
   ANIMACIONES PREMIUM
========================= */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUpSmooth 0.9s ease forwards;
}

.fade-delay-1 {
  animation-delay: 0.15s;
}

.fade-delay-2 {
  animation-delay: 0.3s;
}

.fade-delay-3 {
  animation-delay: 0.45s;
}

@keyframes fadeUpSmooth {
  from {
    opacity: 0;
    transform: translateY(45px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   RESPONSIVE CELULAR
========================= */

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: 92%;
  }

  .topbar {
    padding: 20px 0;
  }

  .navbar {
    min-height: 99px;
    position: relative;
    z-index: 9998;
    overflow: visible;
    height: auto;
    padding: 10px 0;
  }

  .nav-container {
    width: 94%;
  }

  .logo {
    gap: 8px;
  }

  .logo img {
    height: 44px;
  }

  .logo-text {
    font-size: 1rem;
    line-height: 1.15;
  }

  .menu-toggle {
    font-size: 28px;
  }

  .nav-menu {
  position: absolute;
  top: 82px;
  right: 55px;
  flex-wrap: wrap;

  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 18px;

  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 0;

  min-width: 220px;

  box-shadow: 0 18px 45px rgba(0,0,0,0.18);

  overflow: visible;
  z-index: 99999;
}
.nav-menu a {
    padding: 12px 0;
    font-size: 1.1rem;
}

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: 45px 0;
  }

  .hero h1 {
    font-size: 2.3rem;
    line-height: 1.1;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-visual {
    display: none;
  }

  .categorias-section {
    padding: 50px 0;
  }

  .categorias-section h2 {
    font-size: 2.1rem;
  }

  .categorias-grid {
    grid-template-columns: 1fr;
  }

  .categoria-card {
    height: 230px;
  }

  .course-main {
    flex-direction: column;
    padding: 22px;
  }

  .course-info h3 {
    font-size: 1.7rem;
  }

  .course-price-box {
    width: 100%;
    min-height: 210px;
  }

  .accordion {
    padding: 0 22px 22px;
  }

  .cronograma-list {
    grid-template-columns: 1fr;
  }

  .contact-row {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .contact-button {
    align-items: center;
  }

  .contact-arrows img {
    max-width: 220px;
  }

  .inscription-page {
    padding: 60px 0 40px;
    min-height: auto;
  }

  .inscription-page h1 {
    font-size: 2rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-card {
    padding: 24px;
    border-radius: 14px;
  }

  .footer-social-bar {
    height: 30px;
  }

  .footer-social-bar a {
    width: 46px;
    height: 46px;
  }

  .footer p {
    font-size: 0.85rem;
    padding: 0 15px;
  }

  .capacitadora-card {
  flex-direction: column;
  text-align: center;
  padding: 28px 22px;
  gap: 20px;
}

.capacitadora-info {
  text-align: center;
}

.capacitadora-img-box img {
  width: 130px;
  height: 130px;
}

.capacitadora-info h2 {
  font-size: 1.8rem;
  line-height: 1.15;
}

.capacitadora-info p {
  font-size: 1rem;
  line-height: 1.55;
}

}

  @keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   ANIMACIONES SEGURAS
========================= */

.hero-content,
.categorias-section h2,
.course-card,
.capacitadora-card,
.accordion-btn,
.contact-section {
  animation: fadeUpSmooth 0.8s ease both;
}


.accordion-btn:nth-child(1) {
  animation-delay: 0.1s;
}

.accordion-btn:nth-child(2) {
  animation-delay: 0.18s;
}

.accordion-btn:nth-child(3) {
  animation-delay: 0.26s;
}

.accordion-btn:nth-child(4) {
  animation-delay: 0.34s;
}

@keyframes fadeUpSmooth {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   EFECTO WOW EN CATEGORÍAS
========================= */

.categoria-card::after {
  transition: opacity 0.35s ease;
}

.categoria-card span {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.categoria-card:hover span {
  transform: scale(1.06);
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}

.categoria-card::before {
  transition: transform 0.6s ease, filter 0.6s ease;
}

.categoria-card:hover::before {
  transform: scale(1.12);
  filter: brightness(1.15) contrast(1.05);
}

.categoria-card::after {
  background-size: 200% 200%;
}

.categoria-card:hover::after {
  opacity: 0.88;
  animation: categoriaGlow 1.8s ease infinite alternate;
}

@keyframes categoriaGlow {
  from {
    filter: brightness(1);
  }

  to {
    filter: brightness(1.25);
  }
}

/* =========================
   EFECTO INAUGURACIÓN DRAMÁTICO
========================= */

body {
  animation: siteReveal 1.4s ease;
}

.topbar,
.navbar {
  position: relative;
  overflow: visible;
  z-index: 9999;
}

.topbar::after,
.navbar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.45),
    transparent
  );
  animation: shineHeader 2.2s ease forwards;
  pointer-events: none;
}

.hero-content {
  animation: heroEntranceDramatic 1.4s cubic-bezier(.22,1,.36,1);
}

.hero-visual {
  animation: heroImageReveal 1.7s ease;
}

.categorias-section h2 {
  animation: titleReveal 1.2s ease both;
}

.categoria-card {
  opacity: 0;
  transform: translateY(70px) scale(0.9);
  animation: categoriaEntranceDramatic 1s cubic-bezier(.22,1,.36,1) forwards;
}

.categoria-card:nth-child(1) {
  animation-delay: 0.35s;
}

.categoria-card:nth-child(2) {
  animation-delay: 0.6s;
}

.categoria-card:nth-child(3) {
  animation-delay: 0.85s;
}

@keyframes siteReveal {
  from {
    opacity: 0;
    filter: blur(8px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes shineHeader {
  from {
    left: -140%;
  }

  to {
    left: 160%;
  }
}

@keyframes heroEntranceDramatic {
  from {
    opacity: 0;
    transform: translateY(55px) scale(0.96);
    filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroImageReveal {
  from {
    opacity: 0;
    transform: scale(1.15) rotate(-2deg);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0);
    filter: blur(0);
  }
}

@keyframes titleReveal {
  from {
    opacity: 0;
    letter-spacing: 8px;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    letter-spacing: 0;
    transform: translateY(0);
  }
}

@keyframes categoriaEntranceDramatic {
  from {
    opacity: 0;
    transform: translateY(70px) scale(0.9);
    filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* =========================
   COMING SOON - EFECTO EN CONSTRUCCIÓN PREMIUM
========================= */

.coming-soon {
  position: relative;
  overflow: hidden;
}

.coming-soon::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);

  background-size: 70px 70px;

  opacity: 0.35;
  animation: blueprintMove 12s linear infinite;
  pointer-events: none;
}

.coming-soon::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(255,255,255,0.22),
    transparent 65%
  );

  top: 18%;
  left: 14%;

  animation: floatingGlow 7s ease-in-out infinite alternate;
  pointer-events: none;
}

.coming-box {
  position: relative;
  z-index: 2;
  animation: floatingBox 4s ease-in-out infinite;
}

.coming-box::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 26px;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.55),
    transparent
  );

  opacity: 0;
  animation: boxShine 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes blueprintMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 140px 140px;
  }
}

@keyframes floatingGlow {
  from {
    transform: translate(0, 0) scale(1);
    opacity: 0.25;
  }

  to {
    transform: translate(80px, 40px) scale(1.15);
    opacity: 0.45;
  }
}

@keyframes floatingBox {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes boxShine {
  0%, 65% {
    opacity: 0;
    transform: translateX(-40%);
  }

  80% {
    opacity: 0.8;
  }

  100% {
    opacity: 0;
    transform: translateX(40%);
  }
}

.back-button {
  position: absolute;
  top: 30px;
  left: 30px;

  z-index: 100;

  padding: 12px 22px;

  border-radius: 999px;

  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.25);

  color: white;
  text-decoration: none;

  font-weight: 600;
  letter-spacing: 0.5px;

  transition: all 0.3s ease;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.2);
}

.back-button:hover {
  transform: translateY(-3px);

  background: rgba(255,255,255,0.2);

  box-shadow:
    0 15px 35px rgba(0,0,0,0.3);
}

/* =========================
   PAGE TRANSITIONS
========================= */

body {
  animation: pageEnter 0.8s ease;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* =========================
   NAV DESKTOP / MOBILE
========================= */

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;

    width: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .nav-menu a {
    color: white;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    background: rgba(255,255,255,0.12);
  }

  .nav-menu a:hover {
    background: rgba(255,255,255,0.24);
    color: white;
    transform: translateY(-2px);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
}

html, body {
  overflow-x: hidden;
}

.google-play-btn {
  transition: all 0.3s ease;
  cursor: pointer;
}

.google-play-btn:hover {
  transform: translateY(-4px) scale(1.03);
  filter: brightness(1.08);
  box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}