/* PÃ©rez Vega Abogados Â· Estilos globales (pÃºblico, login y admin) */

/* Preloader plantilla controla visibilidad de .page vía script.js */

body {
  font-family: var(--pva-font-body);
}

/* Cuerpo generico / UI: izquierda (titulos, visitanos, admin, login) */
.page p,
.page dd,
.page blockquote,
.page .pva-certeza-lead,
.page .bhm-time,
.page .pva-visitanos_direccion,
.page .pva-visitanos_cita-texto,
.page .pva-trayectoria-item__text,
.admin-main p,
.admin-main dd,
.login-card p {
  text-align: left !important;
  text-justify: auto;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: break-word;
}

/* Landing: textos de contenido justificados */
.page .pva-certeza-copy p,
.page .pva-enfoque-panel__copy p,
.page .pva-enfoque-panel__destacado,
.page .pva-servicios-lead,
.page .pva-servicios-red__intro,
.page .pva-servicios-red__intro--arriba,
.page .pva-servicio-texto__intro,
.page .pva-servicio-texto__body,
.page .pva-servicio-texto__lista > li,
.page .pva-soluciones-integrales__intro,
.page .pva-firma-parsed-content,
.page .pva-firma-parsed-content p,
.page .pva-firma-copy .pva-premium-lead,
.page .pva-firma-copy .pva-premium-text,
.page .pva-firma-badge__texto,
.page .pva-firma-lista li,
.page .pva-firma-lead,
.page .pva-valor-fila__text,
.page .pva-contacto-intro,
.page .pva-contacto-visual__text,
.page .pva-premium-cita,
.page #firma .post-info__text,
.page .post-info__text,
.page .pva-terminos_prose p,
.page .pva-terminos .card-custom-body p,
.page .pva-privacidad_prose p,
.page .pva-privacidad .card-custom-body p {
  text-align: justify !important;
  text-align-last: left;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 4 2 2;
  -webkit-hyphenate-limit-before: 2;
  -webkit-hyphenate-limit-after: 2;
  word-break: normal;
  overflow-wrap: break-word;
}

.page ul:not(.rd-navbar-nav):not(.rd-navbar-dropdown):not(.list-inline):not(.pva-nav):not(.swiper-wrapper):not(.pva-pie-secciones-list):not(.pva-pie-legal-list):not(.pva-pie-contacto-list):not(.list-xs):not(.pva-servicio-texto__lista):not(.pva-firma-lista) > li,
.page ol > li,
.admin-main ul > li,
.admin-main ol > li {
  text-align: left !important;
  text-justify: auto;
  hyphens: none;
  -webkit-hyphens: none;
}

/* Excepciones: slider, menú, títulos UI */
.swiper-slide-caption p,
.page .swiper-slide-caption p,
.page .swiper-slide-caption h1,
.page .swiper-slide-caption h2,
.page .swiper-slide-caption h3,
.page .swiper-slide-caption .heading-decorated {
  text-align: center !important;
  text-justify: auto;
  hyphens: none !important;
  -webkit-hyphens: none !important;
}

.page .heading-decorated_center,
.page .text-center > .heading-decorated,
.page .blurb-tiny_centered .blurb-tiny__title {
  text-align: center !important;
  text-justify: auto;
}

.page .pva-servicio-texto__toggle {
  text-align: left !important;
  text-justify: auto;
}

/* Conservar alineación de UI / títulos / navegación */
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .heading-decorated,
body .blurb-tiny__title,
body .button,
body .rd-navbar,
body .rd-navbar li,
body .rd-navbar p,
body .rd-navbar a,
body .form-validation,
body .admin-mensaje,
body .pva-nav-link__label,
body .pva-firma-kicker,
body .pva-certeza-kicker,
body .pva-enfoque-panel__etiqueta,
body .pva-enfoque-panel__titulo,
body .pva-visitanos_etiqueta,
body .pva-visitanos_cita-autor,
body .pva-servicio-texto__toggle {
  text-align: left;
  hyphens: none;
}

@media (max-width: 991.98px) {
  body .pre-footer-corporate h6,
  body .pre-footer-corporate .heading-6,
  body .pre-footer-corporate .pva-pie-titulo,
  body .pre-footer-corporate .pva-pie-contacto-etiqueta,
  body .pre-footer-corporate .pva-pie-contacto-valor,
  body .pre-footer-corporate .pva-pie-contacto-enlace,
  body .pre-footer-corporate #pie-contacto dd {
    text-align: center !important;
  }
}

body .rd-navbar,
body .rd-navbar li,
body .rd-navbar p,
body .rd-navbar a,
body .pva-nav-link__label {
  text-align: left !important;
  text-justify: auto;
  hyphens: none !important;
  -webkit-hyphens: none !important;
}

.page .swiper-slide-caption h1,
.page .swiper-slide-caption h2,
.page .swiper-slide-caption h3,
.page .swiper-slide-caption .heading-decorated {
  text-align: center !important;
}

.page .text-center > h1,
.page .text-center > h2,
.page .text-center > h3,
.page .text-center > h4,
.page .text-center > h5,
.page .text-center > h6,
.page .heading-decorated_center,
.page .blurb-tiny__title,
.page .swiper-slide-caption h1,
.page .swiper-slide-caption h2,
.page .swiper-slide-caption h3,
.page p.pva-privacidad_meta,
.page p.pva-terminos_meta {
  text-align: center !important;
}

.pva-site-shell {
  font-size: 16px;
}

.pva-site-shell .form-validation {
  font-size: 12px;
  line-height: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.button {
  font-family: var(--pva-font-display);
}

:root {
  --topbar-height: 153px;
  --nav-menu-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-menu-duration: 1.5s;
  --pva-navy: #0b1f3a;
  --pva-navy-light: #15325c;
  --pva-gold: #c9a227;
  --pva-radius: 12px;
  --pva-font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --pva-font-body: "Lato", "Helvetica Neue", Arial, sans-serif;
  --pva-font-mono: "Lato", "Helvetica Neue", Arial, sans-serif;
  --pva-copy-size: clamp(15px, 1.3vw, 16.5px);
  --loca-font-display: var(--pva-font-display);
  --loca-font-body: var(--pva-font-body);
  --loca-font-mono: var(--pva-font-mono);
  --loca-acento: var(--pva-gold);
}

body.nav-menu-open {
  overflow: hidden;
}

@media (max-width: 991px) {
  body::before {
    content: "";
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--nav-menu-duration) var(--nav-menu-ease);
  }

  body.nav-menu-open::before {
    opacity: 1;
    pointer-events: auto;
  }
}

.link-simple {
  color: #161616;
  text-decoration: underline;
}

.w-100 {
  width: 100%;
}

/* ===== RD Navbar — identidad Pérez Vega Abogados ===== */
.page-header {
  position: relative;
  z-index: 1001;
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
}

body.rd-navbar-default-linked .page-header {
  padding: 0 !important;
  height: auto !important;
}

.rd-navbar-wrap,
.rd-navbar.rd-navbar-static,
.rd-navbar.rd-navbar-static .rd-navbar-inner,
.rd-navbar.rd-navbar-fixed .rd-navbar-panel,
.rd-navbar.rd-navbar-fixed .rd-navbar-nav-wrap {
  background: var(--pva-navy);
}

/* Anular franja blanca y caja estrecha de la plantilla */
.rd-navbar-static {
  background-color: var(--pva-navy) !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.rd-navbar-static .rd-navbar-top-panel::before {
  background: var(--pva-navy-light) !important;
}

.rd-navbar-static .rd-navbar-top-panel,
.rd-navbar-static .rd-navbar-inner {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: clamp(16px, 3vw, 40px) !important;
  padding-right: clamp(16px, 3vw, 40px) !important;
}

/* Logo izquierda + menú derecha en una sola fila (lg+ ≈ 992px) */
.rd-navbar-static .rd-navbar-inner {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px;
  min-height: 56px;
}

.rd-navbar-static .rd-navbar-inner > * {
  justify-content: flex-start !important;
  padding: 0 !important;
}

.rd-navbar-static .rd-navbar-inner > * + * {
  margin-top: 0 !important;
}

.rd-navbar-static .rd-navbar-panel {
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  text-align: left !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 168px !important;
  min-height: 56px;
  position: relative;
  z-index: 5;
  margin-right: 0;
}

.rd-navbar-static .rd-navbar-panel .rd-navbar-toggle {
  display: none !important;
}

.rd-navbar .rd-navbar-brand {
  display: block !important;
  min-width: 0;
  max-width: 100%;
}

.rd-navbar .rd-navbar-brand img {
  height: 36px;
  width: auto !important;
  max-width: 100%;
  display: block;
}

.footer-corporate .brand img {
  height: 51px;
  width: auto;
  display: block;
}

.rd-navbar-static .rd-navbar-nav-wrap {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  align-self: stretch !important;
  width: auto !important;
  max-width: none !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  min-height: 56px;
  padding: 0 !important;
  margin-left: 0 !important;
  text-align: right !important;
  overflow: visible;
}

.rd-navbar-static .rd-navbar-nav-wrap::before {
  display: none !important;
}

.rd-navbar-static .rd-navbar-nav {
  display: inline-flex !important;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0;
  height: 100%;
  margin: 0;
  max-width: 100%;
}

.rd-navbar-static .rd-navbar-nav > li {
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
  flex: 0 0 auto;
}

.rd-navbar-static .rd-navbar-nav > li > * {
  vertical-align: middle !important;
}

.rd-navbar-static .rd-navbar-nav > li > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  gap: 3px;
  min-height: 56px;
  font-size: 10px;
  letter-spacing: 0.01em;
  padding: 0 3px !important;
  line-height: 1.2;
  white-space: nowrap;
  box-sizing: border-box;
}

.pva-nav-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  line-height: 0;
  opacity: 0.92;
}

.pva-nav-link__label {
  display: inline-block;
}

.rd-navbar .rd-navbar-nav > li > a.pva-nav-link {
  display: inline-flex !important;
  align-items: center;
  gap: 3px;
}

.rd-navbar .rd-navbar-nav .pva-icon--nav {
  display: block;
  width: 13px;
  height: 13px;
  min-width: 13px;
  min-height: 13px;
  max-width: none;
  filter: brightness(0) invert(1);
}

.rd-navbar .rd-navbar-nav > li > a:hover .pva-nav-link__icon,
.rd-navbar .rd-navbar-nav > li.active > a .pva-nav-link__icon {
  opacity: 1;
}

.rd-navbar .rd-navbar-dropdown .pva-nav-link {
  justify-content: flex-start;
  gap: 10px;
  min-height: auto;
  padding: 8px 0 !important;
  white-space: normal;
}

.rd-navbar .rd-navbar-dropdown .pva-nav-link__icon {
  width: 15px;
  height: 15px;
}

.rd-navbar .rd-navbar-dropdown .pva-icon--nav {
  width: 15px;
  height: 15px;
  min-width: 15px;
  min-height: 15px;
  filter: brightness(0) invert(1);
}

.rd-navbar .rd-navbar-top-panel__content {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  width: 100%;
  min-height: 40px !important;
}

.rd-navbar .rd-navbar-top-panel__left,
.rd-navbar .rd-navbar-top-panel__right {
  width: auto !important;
  flex: 0 0 auto !important;
}

.rd-navbar .rd-navbar-top-panel__right .rd-navbar-items-list {
  flex-wrap: nowrap !important;
}

.rd-navbar .rd-navbar-top-panel__right .rd-navbar-items-list > li {
  padding: 0 12px;
}

.rd-navbar .rd-navbar-top-panel .list-inline-xxs > li {
  display: inline-block !important;
  margin-top: 0 !important;
}

.rd-navbar .rd-navbar-top-panel .list-inline-xxs {
  display: inline-block !important;
  margin-bottom: 0;
  transform: none;
}

.rd-navbar-static .rd-navbar-top-panel {
  background: var(--pva-navy-light);
  min-height: 40px;
  padding: 6px 0;
}

.rd-navbar .rd-navbar-top-panel,
.rd-navbar .rd-navbar-top-panel a,
.rd-navbar .rd-navbar-top-panel p {
  color: rgba(255, 255, 255, 0.88);
}

.rd-navbar .rd-navbar-top-panel a:hover {
  color: var(--pva-gold);
}

.rd-navbar .rd-navbar-top-panel .icon-primary {
  color: #fff;
}

.rd-navbar .rd-navbar-top-panel a.icon-primary:hover,
.rd-navbar .rd-navbar-top-panel a.icon-primary:focus {
  color: var(--pva-gold);
}

.rd-navbar .rd-navbar-nav > li > a {
  position: relative;
  transition: color 0.3s ease;
}

.rd-navbar .rd-navbar-nav > li > a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--pva-gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.rd-navbar .rd-navbar-nav > li > a:hover::after,
.rd-navbar .rd-navbar-nav > li.active > a::after {
  width: 70%;
}

.rd-navbar .rd-navbar-nav > li > a,
.rd-navbar .rd-navbar-nav > li > a:not(:hover):not(.active):not(:focus):not(.pva-nav-acceso) {
  color: rgba(255, 255, 255, 0.9);
}

.rd-navbar .rd-navbar-nav > li > a:hover,
.rd-navbar .rd-navbar-nav > li.active > a,
.rd-navbar .rd-navbar-nav > li > a:focus {
  color: var(--pva-gold);
}

.rd-navbar .rd-navbar-nav > li > a.pva-nav-acceso {
  border: 1px solid rgba(255, 255, 255, 0.35);
  min-height: auto;
  padding: 8px 14px !important;
}

.rd-navbar .rd-navbar-nav > li > a.pva-nav-acceso::after {
  display: none;
}

.rd-navbar .rd-navbar-nav > li > a.pva-nav-acceso:hover,
.rd-navbar .rd-navbar-nav > li > a.pva-nav-acceso.is-current,
.rd-navbar .rd-navbar-nav > li.active > a.pva-nav-acceso.is-current {
  color: var(--pva-navy);
  background: #fff;
  border-color: #fff;
}

.rd-navbar .rd-navbar-nav > li > a.pva-nav-acceso:hover .pva-icon--nav,
.rd-navbar .rd-navbar-nav > li > a.pva-nav-acceso.is-current .pva-icon--nav {
  filter: brightness(0) saturate(100%);
}

.rd-navbar .rd-navbar-dropdown {
  background: var(--pva-navy-light);
}

.rd-navbar-static .rd-navbar-nav > li.rd-navbar-submenu {
  position: relative;
}

.rd-navbar-static .rd-navbar-nav > li.rd-navbar-submenu > .rd-navbar-dropdown {
  top: 100%;
  left: auto;
  right: 0;
  margin-top: 4px;
  margin-left: 0;
  padding: 16px 20px;
  z-index: 1002;
  min-width: 220px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.rd-navbar .rd-navbar-dropdown > li > a {
  color: rgba(255, 255, 255, 0.92);
}

.rd-navbar .rd-navbar-dropdown > li > a:hover,
.rd-navbar .rd-navbar-dropdown > li > a:focus {
  color: var(--pva-gold);
  background: rgba(255, 255, 255, 0.06);
}

.rd-navbar .rd-navbar-toggle span,
.rd-navbar .rd-navbar-toggle span::before,
.rd-navbar .rd-navbar-toggle span::after {
  background: #fff;
}

.rd-navbar .rd-navbar-toggle.active span {
  background: transparent;
}

@media (max-width: 991px) {
  html.rd-navbar-fixed-linked .page-header {
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  html.rd-navbar-fixed-linked .page-header .rd-navbar-wrap,
  html.rd-navbar-fixed-linked .page-header .rd-navbar.rd-navbar-fixed,
  html.rd-navbar-fixed-linked .page-header .rd-navbar-inner {
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .rd-navbar.rd-navbar-fixed .rd-navbar-top-panel {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .rd-navbar.rd-navbar-fixed .rd-navbar-panel {
    border-bottom: 0 !important;
    background: var(--pva-navy) !important;
    justify-content: center;
  }

  .rd-navbar-fixed .rd-navbar-toggle {
    position: fixed;
    left: 8px;
    top: -2px;
    width: 48px;
    height: 56px;
    margin: 0;
    padding: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 0;
    z-index: 18;
  }

  .rd-navbar-fixed .rd-navbar-brand {
    left: 50% !important;
    right: auto !important;
    top: -2px;
    height: 56px;
    transform: translateX(-50%);
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: auto;
    max-width: calc(100% - 96px);
  }

  .rd-navbar-fixed .rd-navbar-brand .brand-name {
    display: inline-flex;
    justify-content: center;
  }

  .rd-navbar-fixed .rd-navbar-brand img {
    height: 32px;
    width: auto !important;
  }

  .rd-navbar.rd-navbar-fixed .rd-navbar-top-panel__toggle {
    display: none !important;
  }

  .page > .page-header + .swiper-panel-wrap,
  .page > .page-header + section.swiper-panel-wrap {
    margin-top: 0 !important;
  }

  .rd-navbar-fixed .rd-navbar-nav-wrap {
    background: var(--pva-navy) !important;
  }

  .rd-navbar-fixed .rd-navbar-nav li > a,
  .rd-navbar-fixed .rd-navbar-nav > li > a,
  .rd-navbar-fixed .rd-navbar-nav > li > a:not(:hover):not(.active):not(:focus):not(.pva-nav-acceso) {
    color: rgba(255, 255, 255, 0.92) !important;
    background: transparent !important;
  }

  .rd-navbar-fixed .rd-navbar-nav li:hover > a,
  .rd-navbar-fixed .rd-navbar-nav li.focus > a,
  .rd-navbar-fixed .rd-navbar-nav li.active > a,
  .rd-navbar-fixed .rd-navbar-nav li.opened > a,
  .rd-navbar-fixed .rd-navbar-nav > li > a:hover,
  .rd-navbar-fixed .rd-navbar-nav > li.active > a,
  .rd-navbar-fixed .rd-navbar-nav > li > a:focus {
    color: #fff !important;
    background: rgba(201, 162, 39, 0.28) !important;
  }

  .rd-navbar-fixed .rd-navbar-nav > li.rd-navbar-submenu:hover,
  .rd-navbar-fixed .rd-navbar-nav > li.rd-navbar-submenu.focus,
  .rd-navbar-fixed .rd-navbar-nav > li.rd-navbar-submenu.active,
  .rd-navbar-fixed .rd-navbar-nav > li.rd-navbar-submenu.opened {
    background: rgba(201, 162, 39, 0.28) !important;
  }

  .rd-navbar-fixed .rd-navbar-nav > li.rd-navbar-submenu:hover > a,
  .rd-navbar-fixed .rd-navbar-nav > li.rd-navbar-submenu.focus > a,
  .rd-navbar-fixed .rd-navbar-nav > li.rd-navbar-submenu.active > a,
  .rd-navbar-fixed .rd-navbar-nav > li.rd-navbar-submenu.opened > a {
    background: transparent !important;
    color: #fff !important;
  }

  .rd-navbar-fixed .rd-navbar-nav > li.rd-navbar-submenu > a.pva-nav-link {
    display: flex !important;
    width: 100%;
    box-sizing: border-box;
  }

  .rd-navbar-fixed .rd-navbar-nav > li.rd-navbar-submenu:hover > .rd-navbar-submenu-toggle,
  .rd-navbar-fixed .rd-navbar-nav > li.rd-navbar-submenu.focus > .rd-navbar-submenu-toggle,
  .rd-navbar-fixed .rd-navbar-nav > li.rd-navbar-submenu.active > .rd-navbar-submenu-toggle,
  .rd-navbar-fixed .rd-navbar-nav > li.rd-navbar-submenu.opened > .rd-navbar-submenu-toggle,
  .rd-navbar-fixed .rd-navbar-nav > li.rd-navbar-submenu:hover > .rd-navbar-submenu-toggle::after,
  .rd-navbar-fixed .rd-navbar-nav > li.rd-navbar-submenu.focus > .rd-navbar-submenu-toggle::after,
  .rd-navbar-fixed .rd-navbar-nav > li.rd-navbar-submenu.active > .rd-navbar-submenu-toggle::after,
  .rd-navbar-fixed .rd-navbar-nav > li.rd-navbar-submenu.opened > .rd-navbar-submenu-toggle::after {
    color: #fff !important;
  }

  .rd-navbar-fixed .rd-navbar-nav > li > a::after {
    display: none !important;
  }

  .rd-navbar-fixed .rd-navbar-nav > li > a:hover .pva-nav-link__icon,
  .rd-navbar-fixed .rd-navbar-nav > li.active > a .pva-nav-link__icon,
  .rd-navbar-fixed .rd-navbar-nav li:hover > a .pva-nav-link__icon,
  .rd-navbar-fixed .rd-navbar-nav li.active > a .pva-nav-link__icon {
    opacity: 1;
  }

  .rd-navbar-fixed .rd-navbar-nav > li > a.pva-nav-link {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    padding: 12px 52px 12px 22px !important;
    margin: 0;
    text-align: left !important;
    font-size: 13px;
    letter-spacing: 0.06em;
  }

  .rd-navbar-fixed .pva-nav-link__icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .rd-navbar-fixed .rd-navbar-nav .pva-icon--nav {
    display: block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    max-width: none;
    object-fit: contain;
    object-position: center;
  }

  .rd-navbar-fixed .rd-navbar-nav > li > a.pva-nav-acceso {
    margin: 12px 18px 4px;
    width: calc(100% - 36px);
    justify-content: center;
    border-radius: 4px;
    padding: 12px 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.42);
  }

  .rd-navbar-fixed .rd-navbar-nav > li > a.pva-nav-acceso:hover,
  .rd-navbar-fixed .rd-navbar-nav > li > a.pva-nav-acceso.is-current {
    color: var(--pva-navy) !important;
    background: #fff !important;
    border-color: #fff !important;
  }

  .rd-navbar-fixed .rd-navbar-nav > li > a.pva-nav-acceso:hover .pva-icon--nav,
  .rd-navbar-fixed .rd-navbar-nav > li > a.pva-nav-acceso.is-current .pva-icon--nav {
    filter: brightness(0) saturate(100%) !important;
  }

  .rd-navbar-fixed .rd-navbar-nav > li > a.pva-nav-acceso .pva-nav-link__icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
  }

  .rd-navbar-fixed .rd-navbar-nav > li > a.pva-nav-acceso .pva-icon--nav {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
  }

  .rd-navbar-fixed .rd-navbar-dropdown {
    margin: 4px 14px 10px;
    padding: 6px 0;
    border-radius: 8px;
    background: rgba(21, 50, 92, 0.72) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  }

  .rd-navbar-fixed .rd-navbar-dropdown > li {
    margin: 0;
    padding: 0;
  }

  .rd-navbar-fixed .rd-navbar-dropdown > li > a {
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent !important;
  }

  .rd-navbar-fixed .rd-navbar-dropdown > li > a.pva-nav-link {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 44px;
    margin: 0;
    padding: 10px 18px 10px 42px !important;
    text-align: left !important;
    white-space: normal;
    line-height: 1.35;
    letter-spacing: 0.02em;
    font-size: 13px;
    box-sizing: border-box;
  }

  .rd-navbar-fixed .rd-navbar-dropdown .pva-nav-link__label {
    flex: 1 1 auto;
    text-align: left !important;
  }

  .rd-navbar-fixed .rd-navbar-dropdown:hover > a,
  .rd-navbar-fixed .rd-navbar-dropdown.focus > a,
  .rd-navbar-fixed .rd-navbar-dropdown.active > a,
  .rd-navbar-fixed .rd-navbar-dropdown.opened > a,
  .rd-navbar-fixed .rd-navbar-dropdown > li > a:hover,
  .rd-navbar-fixed .rd-navbar-dropdown > li > a:focus {
    color: #fff !important;
    background: rgba(201, 162, 39, 0.28) !important;
  }
}

/* Compacto en lg–xl para que quepa el menú desde ~992–1000px */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .rd-navbar-static .rd-navbar-top-panel,
  .rd-navbar-static .rd-navbar-inner {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .rd-navbar-static .rd-navbar-panel {
    max-width: 140px !important;
  }

  .rd-navbar .rd-navbar-brand img {
    height: 32px;
  }

  .rd-navbar-static .rd-navbar-nav > li > a {
    padding: 0 2px !important;
    font-size: 9.5px;
    letter-spacing: 0;
    gap: 2px;
  }

  .rd-navbar .rd-navbar-nav > li > a.pva-nav-link {
    gap: 2px;
  }

  .rd-navbar .rd-navbar-nav .pva-icon--nav,
  .rd-navbar-static .pva-nav-link__icon {
    width: 11px;
    height: 11px;
    min-width: 11px;
    min-height: 11px;
  }
}

@media (min-width: 1200px) and (max-width: 1599.98px) {
  .rd-navbar-static .rd-navbar-panel {
    max-width: 190px !important;
  }

  .rd-navbar .rd-navbar-brand img {
    height: 38px;
  }

  .rd-navbar-static .rd-navbar-nav > li > a {
    padding: 0 4px !important;
    font-size: 11px;
    letter-spacing: 0.02em;
    gap: 4px;
  }

  .rd-navbar .rd-navbar-nav > li > a.pva-nav-link {
    gap: 4px;
  }

  .rd-navbar .rd-navbar-nav .pva-icon--nav,
  .rd-navbar-static .pva-nav-link__icon {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
  }
}

@media (min-width: 1600px) {
  .rd-navbar-static .rd-navbar-panel {
    max-width: 240px !important;
  }

  .rd-navbar .rd-navbar-brand img {
    height: 44px;
  }

  .rd-navbar-static .rd-navbar-nav > li > a {
    padding: 0 6px !important;
    font-size: 12px;
    letter-spacing: 0.03em;
    gap: 5px;
  }

  .rd-navbar .rd-navbar-nav > li > a.pva-nav-link {
    gap: 5px;
  }

  .rd-navbar .rd-navbar-nav .pva-icon--nav,
  .rd-navbar-static .pva-nav-link__icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
  }
}

/* Slider hero pegado al header sin hueco del modo linked */
.swiper-panel-wrap {
  margin-top: 0 !important;
  padding: 0 !important;
}

.page > .page-header + .swiper-panel-wrap,
.page > .page-header + section.swiper-panel-wrap {
  margin-top: 0 !important;
}

.swiper-slider_fullheight,
.swiper-slider_fullheight .swiper-container {
  min-height: min(85vh, 720px);
}

.admin-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--pva-navy);
  border-bottom: 0;
  box-shadow: none;
  min-height: var(--topbar-height);
  transition: background-color 0.25s ease;
}


/* ===== Volver arriba (flecha) ===== */
a.ui-to-top:not(#ui-to-top) {
  display: none !important;
}

#ui-to-top.ui-to-top {
  position: fixed;
  right: calc(40px + 54px + 12px);
  bottom: 40px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(11, 31, 58, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  font-size: 0;
  line-height: 0;
  transform: translate3d(0, 100px, 0);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 12px rgba(11, 31, 58, 0.15);
}

#ui-to-top.ui-to-top.active {
  transform: translate3d(0, 0, 0);
}

#ui-to-top.ui-to-top:hover,
#ui-to-top.ui-to-top:focus {
  background: var(--pva-gold);
  border-color: var(--pva-gold);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.4);
  transform: translateY(-4px);
}

#ui-to-top.ui-to-top::before {
  content: none;
}

#ui-to-top .ui-to-top_arrow {
  display: block;
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ===== Footer (sitio pÃºblico, login y admin) ===== */
body.loca-site-shell,
body.pva-site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.loca-site-shell .page,
body.loca-site-shell > .page,
body.pva-site-shell .page,
body.pva-site-shell > .page,
body.pva-site-shell .login-page_shell {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.pva-footer,
.loca-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: clamp(40px, 5vw, 60px) 24px clamp(24px, 3vw, 36px);
  background: linear-gradient(135deg, var(--pva-navy) 0%, #061121 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.pva-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--pva-gold) 50%, transparent 100%);
  opacity: 0.5;
}

.pva-footer_shell,
.loca-footer_shell {
  max-width: 1350px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 24px);
}

.pva-footer_top,
.loca-footer_top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 32px;
}

.pva-footer_logo,
.loca-footer_logo {
  display: inline-flex;
  flex: 0 0 auto;
}

.pva-footer_logo_img,
.loca-footer_logo_img {
  display: block;
  width: auto;
  height: 68px;
  max-width: min(400px, 60vw);
  margin-inline: auto;
  object-fit: contain;
}

.pva-footer_tagline,
.loca-footer_tagline {
  margin: 0;
  font-family: var(--pva-font-mono);
  font-size: 14px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
}

.pva-footer_bottom,
.loca-footer_bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: clamp(12px, 2vw, 18px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.pva-footer_mail,
.pva-footer_link,
.loca-footer_mail {
  color: var(--pva-gold);
  font-family: var(--pva-font-mono);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.pva-footer_mail:hover,
.pva-footer_link:hover,
.loca-footer_mail:hover {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

.pva-footer_rights,
.loca-footer_rights {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 991px) {
  .pva-footer_top,
  .pva-footer_bottom,
  .loca-footer_top,
  .loca-footer_bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pva-footer_bottom,
  .loca-footer_bottom {
    gap: 12px;
  }
}

/* ===== Scroll reveal (sitio público) ===== */
:root {
  --pva-reveal-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pva-reveal-duration: 1.45s;
  --pva-reveal-opacity-duration: 1.15s;
}

.pva-reveal {
  transition:
    opacity var(--pva-reveal-opacity-duration, 1.15s) ease var(--pva-reveal-delay, 0ms),
    transform var(--pva-reveal-duration, 1.45s) var(--pva-reveal-ease) var(--pva-reveal-delay, 0ms),
    filter calc(var(--pva-reveal-duration, 1.45s) * 0.72) ease-out var(--pva-reveal-delay, 0ms) !important;
  will-change: opacity, transform, filter;
  backface-visibility: hidden;
}

html.pva-scroll-pending .pva-reveal:not(.is-visible),
.pva-reveal:not(.is-visible) {
  opacity: 0;
  filter: blur(var(--pva-reveal-blur, 0px));
  transform:
    translate3d(var(--pva-reveal-x, 0), var(--pva-reveal-y, 44px), 0)
    scale(var(--pva-reveal-scale, 0.975))
    rotate(var(--pva-reveal-rot, 0deg));
  transform-origin: var(--pva-reveal-origin, center bottom);
}

.pva-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  will-change: auto;
}

.pva-reveal-soft {
  --pva-reveal-y: 26px;
  --pva-reveal-scale: 0.992;
  --pva-reveal-blur: 3px;
  --pva-reveal-duration: 1.25s;
  --pva-reveal-opacity-duration: 1.05s;
}

.pva-reveal-rise {
  --pva-reveal-y: 68px;
  --pva-reveal-scale: 0.972;
  --pva-reveal-blur: 5px;
  --pva-reveal-duration: 1.65s;
  --pva-reveal-opacity-duration: 1.25s;
}

.pva-reveal-card {
  --pva-reveal-y: 74px;
  --pva-reveal-scale: 0.958;
  --pva-reveal-blur: 6px;
  --pva-reveal-rot: -0.45deg;
  --pva-reveal-duration: 1.75s;
  --pva-reveal-opacity-duration: 1.25s;
}

.pva-reveal-from-left {
  --pva-reveal-x: -58px;
  --pva-reveal-y: 24px;
  --pva-reveal-scale: 0.986;
  --pva-reveal-blur: 4px;
  --pva-reveal-duration: 1.55s;
  --pva-reveal-origin: left center;
}

.pva-reveal-from-right {
  --pva-reveal-x: 58px;
  --pva-reveal-y: 24px;
  --pva-reveal-scale: 0.986;
  --pva-reveal-blur: 4px;
  --pva-reveal-duration: 1.55s;
  --pva-reveal-origin: right center;
}

.pva-reveal-image {
  --pva-reveal-y: 36px;
  --pva-reveal-scale: 1.03;
  --pva-reveal-blur: 10px;
  --pva-reveal-duration: 1.85s;
  --pva-reveal-opacity-duration: 1.35s;
}

.pva-reveal-title {
  --pva-reveal-y: 38px;
  --pva-reveal-scale: 0.985;
  --pva-reveal-blur: 4px;
  --pva-reveal-duration: 1.45s;
  --pva-reveal-opacity-duration: 1.15s;
  --pva-reveal-origin: left bottom;
}

.pva-reveal-zoom {
  --pva-reveal-y: 10px;
  --pva-reveal-scale: 0.9;
  --pva-reveal-blur: 8px;
  --pva-reveal-duration: 1.55s;
  --pva-reveal-opacity-duration: 1.15s;
}

.pva-reveal-fade {
  --pva-reveal-y: 18px;
  --pva-reveal-scale: 1;
  --pva-reveal-blur: 5px;
  --pva-reveal-duration: 1.2s;
}

.pva-reveal-tilt {
  --pva-reveal-x: 18px;
  --pva-reveal-y: 52px;
  --pva-reveal-scale: 0.968;
  --pva-reveal-blur: 6px;
  --pva-reveal-rot: 0.9deg;
  --pva-reveal-duration: 1.7s;
  --pva-reveal-origin: center top;
}

.pva-reveal-glow {
  --pva-reveal-y: 34px;
  --pva-reveal-scale: 0.982;
  --pva-reveal-blur: 4px;
  --pva-reveal-duration: 1.5s;
}

.pva-reveal-title.heading-decorated::before,
.pva-reveal-title.pva-premium-title + .pva-elegant-divider {
  transition:
    transform 1.25s var(--pva-reveal-ease) calc(var(--pva-reveal-delay, 0ms) + 180ms),
    opacity 1s ease calc(var(--pva-reveal-delay, 0ms) + 110ms);
}

.pva-reveal-title.heading-decorated:not(.is-visible)::before {
  transform: scaleX(0);
  opacity: 0.22;
}

.pva-reveal-title.heading-decorated.is-visible::before {
  transform: scaleX(1);
  opacity: 1;
}

.heading-decorated_center.pva-reveal-title:not(.is-visible)::before,
.text-center .pva-reveal-title.heading-decorated:not(.is-visible)::before {
  transform-origin: center center;
}

.pva-reveal-title.heading-decorated:not(.is-visible)::before {
  transform-origin: left center;
}

.pva-reveal-title.pva-premium-title:not(.is-visible) .title-dot {
  opacity: 0;
  transform: translateY(10px) scale(0.78);
}

.pva-reveal-title.pva-premium-title.is-visible .title-dot {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.95s ease calc(var(--pva-reveal-delay, 0ms) + 260ms),
    transform 1.15s var(--pva-reveal-ease) calc(var(--pva-reveal-delay, 0ms) + 260ms);
}

.pva-reveal-title.pva-premium-title .title-dot {
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  html.pva-scroll-pending .pva-reveal:not(.is-visible),
  .pva-reveal:not(.is-visible),
  .pva-reveal {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }

  .pva-reveal-title.heading-decorated::before,
  .pva-reveal-title.pva-premium-title .title-dot {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/* ===== Fotos: zoom lento y hover blanco y negro ===== */
@keyframes pva-foto-breathe {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.07);
  }
}

.pva-foto-frame,
.pva-premium-img-container,
.pva-premium-img-wrapper,
.pva-lightbox-link--block,
.pva-lightbox-link--post,
.img-thumbnail-variant-1 figure {
  overflow: hidden;
}

img.pva-foto {
  display: block;
  width: 100%;
  transform-origin: center center;
  transition: filter 1s ease;
  animation: pva-foto-breathe 6s ease-in-out infinite;
  animation-delay: var(--pva-foto-delay, 0s);
  will-change: transform;
}

.pva-foto-frame:hover img.pva-foto,
.pva-foto-frame:focus-within img.pva-foto,
.pva-premium-img-container:hover img.pva-foto,
.pva-premium-img-wrapper:hover img.pva-foto,
.pva-lightbox-link:hover img.pva-foto,
.pva-lightbox-link:focus-visible img.pva-foto,
.img-thumbnail-variant-1:hover img.pva-foto,
.img-thumbnail-variant-1:focus-within img.pva-foto {
  filter: grayscale(100%);
}

.swiper-slide.pva-foto-slide {
  overflow: hidden;
}

.pva-foto-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform-origin: center center;
  transition: filter 1s ease;
  animation: pva-foto-breathe 6s ease-in-out infinite;
  animation-delay: var(--pva-foto-delay, 0s);
  will-change: transform;
  pointer-events: none;
}

.swiper-slide.pva-foto-slide:hover .pva-foto-slide-bg {
  filter: grayscale(100%);
}

@media (prefers-reduced-motion: reduce) {
  img.pva-foto,
  .pva-foto-slide-bg {
    animation: none !important;
    will-change: auto;
  }

  .pva-foto-frame:hover img.pva-foto,
  .pva-foto-frame:focus-within img.pva-foto,
  .pva-premium-img-container:hover img.pva-foto,
  .pva-premium-img-wrapper:hover img.pva-foto,
  .pva-lightbox-link:hover img.pva-foto,
  .pva-lightbox-link:focus-visible img.pva-foto,
  .img-thumbnail-variant-1:hover img.pva-foto,
  .img-thumbnail-variant-1:focus-within img.pva-foto,
  .swiper-slide.pva-foto-slide:hover .pva-foto-slide-bg {
    filter: none;
    transition: none;
  }
}

.pva-privacidad .card-custom-collapse.pva-accordion-expanding,
.pva-terminos .card-custom-collapse.pva-accordion-expanding {
  display: block;
  overflow: hidden;
}

.pva-privacidad .card-classic .card-custom-title > a.pva-accordion-trigger-expanding:before,
.pva-terminos .card-classic .card-custom-title > a.pva-accordion-trigger-expanding:before {
  transition: transform 2s ease-in-out;
}
