body {
  background-color: var(--color-navy-black, #0f0f0f) !important;
}

#navbar,
#navbar.navbar-sticky {
  background-color: var(--color-navy-black, #0f0f0f) !important;
  border-radius: 0 !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  min-height: 72px;
}

#navbar > .container {
  width: 100%;
}

#navbar a.flex-none.inline-block,
#navbar a.max-w-\[180px\] {
  max-width: 210px !important;
  flex: 0 0 auto !important;
  line-height: 0;
}

#navbar .site-logo {
  max-height: 52px !important;
  max-width: 210px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: left center;
  display: block;
}

.sidebar-modal a.max-w-\[180px\] {
  max-width: 180px !important;
  flex: 0 1 auto !important;
  line-height: 0;
}

.sidebar-modal .site-logo {
  max-height: 42px !important;
  max-width: 180px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: left center;
  display: block;
}

@media (min-width: 1024px) {
  #navbar,
  #navbar.navbar-sticky {
    min-height: 80px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  #navbar a.flex-none.inline-block,
  #navbar a.max-w-\[180px\] {
    max-width: 280px !important;
  }

  #navbar .site-logo {
    max-height: 64px !important;
    max-width: 280px !important;
  }
}

/* Hero: imagen horizontal + vertical opcional para móviles */
.navbar-nav .nav-link { white-space: nowrap; }
.nav-link .nav-icon { display: inline-block; font-size: 22px; line-height: 1; font-weight: normal; vertical-align: middle; }
@media (min-width: 1024px) and (max-width: 1279px) {
    .navbar-nav { gap: 18px !important; }
    .navbar-nav .nav-link { font-size: 14px; }
}
.pr-hero-bg { background-image: var(--hero-bg); }
.pr-hero-media { background: #000 !important; background-image: none !important; overflow: hidden; }
.pr-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.pr-hero-video--m { display: none; }
.pr-hero-mask { position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.55); pointer-events: none; }
@media (max-width: 767px) {
  .pr-hero-has-vm .pr-hero-video--d { display: none; }
  .pr-hero-has-vm .pr-hero-video--m { display: block; }
  .pr-hero-bg { background-image: var(--hero-bg-m, var(--hero-bg)); }
  .pr-hero-tall {
    min-height: 133.33vw;
    padding-top: 24px !important;
    display: flex; flex-direction: column; justify-content: flex-end;
  }
  .pr-hero-tall > .container { width: 100%; }
}

/* Catálogo de especializaciones / cursos: 2 por fila en celulares */
@media (max-width: 639px) {
  .cms-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* ¿Quién Soy?: las dos fotos lado a lado y escalonadas en celulares */
@media (max-width: 639px) {
  .about-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
  .about-duo > div:first-child { margin-top: 36px; }
  .about-duo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
}

/* ¿Quién Soy?: servicios en cuadrícula 2x2 compacta en celulares */
@media (max-width: 639px) {
  .about-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .about-feats > div { padding: 16px 14px; display: flex; flex-direction: column; }
  .about-feats > div > div:first-child { margin-bottom: 14px; }
  .about-feats > div > div:first-child > div { font-size: 34px; }
  .about-feats > div > div:first-child > span { font-size: 30px; }
  .about-feats h3 { font-size: 15px; line-height: 1.2; margin-bottom: 8px; }
  .about-feats p { font-size: 13px; line-height: 1.5; }
  .about-feats > div > a { margin-top: auto; padding-top: 10px; font-size: 13px; }
}

/* Botones flotantes de redes (interfaz/footer.php · pr_social_float) */
.pr-float { position: fixed; right: 16px; bottom: 96px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.pr-float a {
    position: relative; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 26px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .45); transition: transform .3s ease;
}
.pr-float a:hover { transform: scale(1.08); color: #fff; }
.pr-float a::before {
    content: attr(data-label); position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
    padding: 5px 10px; border-radius: 6px; background: rgba(0, 0, 0, .85); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap;
    opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.pr-float a:hover::before, .pr-float a:focus-visible::before { opacity: 1; }
.pr-float__ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.pr-float__yt { background: #ff0000; }
.pr-float__wa { background: #25d366; }
@media (max-width: 767px) {
    .pr-float { right: 12px; bottom: 84px; gap: 8px; }
    .pr-float a { width: 44px; height: 44px; font-size: 22px; }
}