:root {
  --byserg-navy: #041c32;
  --byserg-turquoise: #1ec6ce;
  --byserg-graphite: #191f28;
  --byserg-white: #ffffff;
  --byserg-surface: #eff3f6;
  --byserg-border: #e0e5eb;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 10000;
  padding: 10px 16px;
  background: var(--byserg-white);
  color: var(--byserg-navy);
  border: 2px solid var(--byserg-turquoise);
  transform: translateY(-160%);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
}

.hamburger_menu .meanmenu-reveal {
  display: none !important;
}

.mega-menu-service-icon i.fa-light {
  font-size: 22px;
  line-height: 1;
}

.site_logo .logo img,
.mobile_logo img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Logo Byserg +6% en responsive (todas las páginas) */
@media only screen and (max-width: 991px) {
  .site_logo .logo,
  .hamburger_logo .mobile_logo {
    max-width: 170px;
  }

  .site_logo .logo img,
  .mobile_logo img,
  .hamburger_logo .mobile_logo img {
    max-height: 51px !important; /* 48px + 6% */
  }
}

.footer-logo {
  max-width: 220px;
  width: auto;
}

.h5-footer .footer-contact-info {
  max-width: 280px;
}

.h5-footer .footer-contact-info .contact-item:has(a) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.footer-logo img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.h5-banner-section .banner-bg {
  background-image: url("../images/hero/h5-hero-img.webp");
  background-size: cover;
  background-position: center;
}

html {
  scroll-padding-top: 110px;
}

.h5-client-item .client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 12px 18px;
}

.h5-client-item .client-logo img {
  max-height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.h5-client-item .client-logo.logo-on-dark {
  background: var(--byserg-navy);
  border-radius: 8px;
}

.h5-banner-content .banner-title {
  font-size: clamp(2.4rem, 6.2vw, 5.4rem);
}

/* Hero home responsive: altura original, contenido centrado, padding lateral */
@media only screen and (max-width: 767px) {
  #inicio.h5-banner-section .h5-banner-area {
    min-height: 90vh !important;
    height: auto;
    justify-content: center;
    padding: 110px 25px 48px;
  }

  #inicio.h5-banner-section .h5-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 0 auto;
  }

  #inicio.h5-banner-section .h5-banner-content .banner-title,
  #inicio.h5-banner-section h1.banner-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(calc(1.9rem + 2px), calc(8vw + 2px), calc(2.4rem + 2px)) !important; /* -3px previo +5px */
  }

  #inicio.h5-banner-section .h5-banner-content .banner-desc {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  #inicio.h5-banner-section .h5-banner-content .btn-area {
    justify-content: center;
  }

  #inicio.h5-banner-section .banner-scroll {
    position: absolute;
    bottom: 24px;
    inset-inline-start: 25px;
  }
}

/* H1 internas: mismo tamaño responsive que el hero del home (.banner-title) */
@media only screen and (max-width: 767px) {
  h1.tj-page-title,
  .tj-page-header-content .tj-page-title,
  .tj-page-header-content h1 {
    font-size: clamp(calc(1.9rem - 3px), 8vw, calc(2.4rem - 3px)) !important;
    line-height: 1.12;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  h1.tj-page-title,
  .tj-page-header-content .tj-page-title,
  .tj-page-header-content h1 {
    font-size: clamp(calc(2.1rem - 3px), 4.5vw, calc(2.6rem - 3px)) !important;
    line-height: 1.12;
  }
}

.byserg-logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 40px;
  padding: 6px 12px;
  border: 1px dashed var(--byserg-border);
  color: var(--byserg-navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--byserg-white);
}

.header-area.header-5 .byserg-logo-placeholder,
.hamburger_logo .byserg-logo-placeholder {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--byserg-white);
}

.page-soluciones-servicios .heading-wrap-content .sec-heading {
  max-width: 900px;
}

.page-soluciones-servicios .service-item.style-6 h3.title {
  font-size: var(--tj-fs-h4);
  line-height: 1.333;
  max-width: none;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .page-soluciones-servicios .service-item.style-6 h3.title {
    font-size: 20px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .page-soluciones-servicios .service-item.style-6 h3.title {
    font-size: 22px;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .page-soluciones-servicios .service-item.style-6 h3.title {
    font-size: 20px;
  }
}

section.page-soluciones-servicios.h5-service-section .service-item.style-6 {
  height: 460px;
}

section.page-soluciones-servicios.h5-service-section .service-item.style-6 .desc {
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
  overflow: visible;
}

section.page-soluciones-servicios.h5-service-section .service-item.style-6 .service-icon i {
  font-size: 32px;
  width: auto;
  height: auto;
  line-height: 1;
}

.service-item.style-6 .service-list {
  margin: 18px 0 22px;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.45;
}

.service-item.style-6 .service-list li {
  margin-bottom: 6px;
}

.byserg-photo-pending {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--byserg-surface);
  color: #5b6770;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  line-height: 1.2;
}

.h5-working-process-wrapper {
  flex-wrap: wrap;
}

@media only screen and (min-width: 768px) {
  .h5-working-process-item {
    flex: 1 1 21%;
  }

  .h5-working-process-item:nth-child(3) {
    margin-top: 160px;
  }

  .h5-working-process-item:nth-child(3) .h5-working-process-indicator {
    top: -160px;
  }

  .h5-working-process-item:nth-child(3) .h5-working-process-indicator::before,
  .h5-working-process-item:nth-child(3) .h5-working-process-indicator::after {
    bottom: -160px;
  }

  .h5-working-process-item:nth-child(3) .h5-working-process-indicator::before {
    height: 160px;
  }

  .h5-working-process-item:nth-child(4) {
    margin-top: 260px;
  }

  .h5-working-process-item:nth-child(4) .h5-working-process-indicator {
    top: -260px;
  }

  .h5-working-process-item:nth-child(4) .h5-working-process-indicator::before,
  .h5-working-process-item:nth-child(4) .h5-working-process-indicator::after {
    content: "";
    position: absolute;
    inset-inline-start: 50%;
    bottom: -260px;
    transform: translateX(-50%) scaleY(-1);
    width: 0;
    height: 260px;
    border-inline-end: 1px dashed var(--tj-color-border-2);
    z-index: -1;
  }
}

.h5-banner-content .btn-area {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.byserg-contact .contact-form {
  margin: 0;
}

.form-status[role="status"] {
  min-height: 0;
  margin-top: 16px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  color: inherit;
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.form-status[role="status"]:not(:empty) {
  padding: 12px 14px;
}

.form-status[role="status"].is-success {
  color: #0b5c4a;
  background: #e6f7f2;
  border: 1px solid #9ed9c7;
}

.form-status[role="status"].is-error {
  color: #8a1f1f;
  background: #fdecec;
  border: 1px solid #f0b4b4;
}

.form-status[role="status"].is-pending {
  color: #355a63;
  background: #eef6f8;
  border: 1px solid #c5dde3;
}

.form-status[role="status"].is-success::before,
.form-status[role="status"].is-error::before,
.form-status[role="status"].is-pending::before {
  display: inline-block;
  margin-inline-end: 6px;
  font-weight: 700;
}

.form-status[role="status"].is-success::before {
  content: "✓";
  color: #0f8a6a;
}

.form-status[role="status"].is-error::before {
  content: "!";
  color: #c0392b;
}

.form-status[role="status"].is-pending::before {
  content: "…";
  color: var(--byserg-turquoise);
}

/* Select del formulario de contacto (nice-select) */
.contact-form .tj-nice-select-box,
.contact-form .tj-select {
  width: 100%;
}

.contact-form .form-input .nice-select {
  float: none;
  width: 100%;
  height: auto;
  min-height: 44px;
  line-height: 1.4;
  padding-top: 11px;
  padding-bottom: 11px;
  padding-inline-end: 32px;
  white-space: normal;
}

.contact-form .form-input .nice-select:after {
  inset-inline-end: 8px;
}

.contact-form .form-input .nice-select .current {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-inline-end: 4px;
}

.contact-form .form-input .nice-select .list {
  width: 100%;
  min-width: 100%;
  inset-inline-start: 0;
  inset-inline-end: 0;
  z-index: 30;
  max-height: 260px;
  overflow-y: auto;
}

.contact-form .form-input .nice-select .option {
  white-space: normal;
  line-height: 1.35;
  min-height: 40px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.consent-input {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.consent-input input {
  margin-top: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.menu_bar:focus-visible {
  outline: 3px solid var(--byserg-turquoise);
  outline-offset: 3px;
}

.tj-page-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding-top: 130px;
  padding-bottom: 48px;
}

.tj-page-header > .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.tj-page-link {
  margin-top: 20px;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .tj-page-header {
    min-height: 320px;
    padding-top: 120px;
    padding-bottom: 40px;
  }
}

@media only screen and (max-width: 991px) {
  .tj-page-header {
    min-height: 300px; /* 260px + ~15% */
    padding-top: 110px;
    padding-bottom: 42px;
  }
}

.tj-contact-area.section-gap {
  padding-top: 80px;
  padding-bottom: 48px;
}

/* Contacto: menos espacio entre banner y la siguiente sección (solo responsive) */
@media only screen and (max-width: 991px) {
  .page-contacto .tj-page-header {
    padding-bottom: 34px;
  }

  .page-contacto .tj-contact-area.section-gap {
    padding-top: 56px;
  }
}

@media only screen and (max-width: 575px) {
  .page-contacto .tj-page-header {
    padding-bottom: 30px;
  }

  .page-contacto .tj-contact-area.section-gap {
    padding-top: 44px;
  }
}

/* Soluciones: menos espacio entre banner y la siguiente sección (solo responsive) */
@media only screen and (max-width: 991px) {
  .page-soluciones .tj-page-header {
    padding-bottom: 34px;
  }

  .page-soluciones .h5-service-section.section-gap {
    padding-top: 56px;
  }
}

@media only screen and (max-width: 575px) {
  .page-soluciones .tj-page-header {
    padding-bottom: 30px;
  }

  .page-soluciones .h5-service-section.section-gap {
    padding-top: 44px;
  }
}

#enfoque.section-gap,
#preguntas.section-gap {
  padding-top: 90px;
  padding-bottom: 80px;
}

#enfoque .about-content-area .sec-heading {
  max-width: none;
  margin-inline-start: 0;
  margin-inline-end: 0;
  text-align: start;
}

#equipo.tj-team-section-3 {
  padding-top: 80px;
  padding-bottom: 60px;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  #enfoque.section-gap,
  #preguntas.section-gap {
    padding-top: 75px;
    padding-bottom: 65px;
  }

  #equipo.tj-team-section-3 {
    padding-top: 65px;
    padding-bottom: 50px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  #enfoque.section-gap,
  #preguntas.section-gap {
    padding-top: 55px;
    padding-bottom: 50px;
  }

  #equipo.tj-team-section-3 {
    padding-top: 50px;
    padding-bottom: 35px;
  }
}

.tj-contact-area .sec-heading {
  margin-bottom: 0;
}

.tj-contact-area .sec-heading .sec-title {
  margin-bottom: 16px;
}

.tj-contact-area .sec-heading .desc {
  max-width: 720px;
  margin: 0 auto;
}

.contact-form .title {
  margin-bottom: 10px;
}

.contact-form .desc {
  margin-bottom: 35px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.body-overlay,
.body-overlay.opened {
  display: none !important;
}

/* Chat: tarjeta flotante (no afecta al menú).
   Selectores con #id: el theme pelea con .tj-offcanvas-area y las clases solas
   no ganan de forma fiable. Cerrado = atributo hidden + fuera de pantalla. */
#byserg-asistente.byserg-chat-panel {
  top: auto;
  bottom: 20px;
  height: min(72vh, calc(100% - 40px));
  overflow: hidden;
  inset-inline-end: -120% !important;
  transform: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

#byserg-asistente.byserg-chat-panel.byserg-open {
  display: block !important;
  inset-inline-end: 15px !important;
  transform: none !important;
  visibility: visible !important;
  pointer-events: auto !important;
  opacity: 1 !important;
}

/* Menú móvil: panel lateral completo */
.byserg-menu-panel.tj-offcanvas-area {
  top: 0;
  bottom: 0;
  height: 100%;
  max-height: 100dvh;
  width: min(420px, calc(100% - 24px));
  border-radius: 0;
  overflow-y: auto;
}

.byserg-menu-panel.tj-offcanvas-area.opened {
  inset-inline-end: 0;
}

.byserg-menu-panel .hamburger_wrapper {
  padding: 24px 20px 32px;
  min-height: 100%;
}

.byserg-menu-panel .hamburger_menu {
  margin-top: 12px;
}

.byserg-menu-panel .mean-container .mean-nav ul li a {
  color: var(--tj-color-common-white);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Icono chat en header (desktop) */
.byserg-header-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: transparent;
  color: var(--byserg-white);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.byserg-header-chat .byserg-chat-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.byserg-header-chat:hover,
.byserg-header-chat:focus-visible {
  background: var(--byserg-turquoise);
  border-color: var(--byserg-turquoise);
  color: var(--byserg-white);
  outline: none;
}

.header-duplicate .byserg-header-chat {
  border-color: rgba(4, 28, 50, 0.18);
  color: var(--byserg-navy);
}

.header-duplicate .byserg-header-chat:hover,
.header-duplicate .byserg-header-chat:focus-visible {
  background: var(--byserg-turquoise);
  border-color: var(--byserg-turquoise);
  color: var(--byserg-white);
}

#byserg-asistente .hamburger_wrapper {
  padding: 24px 24px 20px;
  overflow: hidden;
  justify-content: flex-start;
}

#byserg-asistente .hamburger_logo img {
  max-width: none;
  height: auto;
}

#byserg-asistente .hamburger_inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

#byserg-asistente .hamburger_top {
  margin-bottom: 16px;
  flex-shrink: 0;
}

#byserg-asistente .hamburger_menu {
  flex-shrink: 0;
  margin-bottom: 12px;
}

#byserg-asistente .hamburger_menu .mean-container .mean-bar {
  margin-bottom: 0;
}

#byserg-asistente .hamburger_close {
  gap: 10px;
}

.byserg-asistente-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: transparent;
  color: var(--tj-color-common-white);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.byserg-asistente-new:hover {
  color: var(--tj-color-theme-primary);
  border-color: var(--tj-color-theme-primary);
}

.byserg-asistente-confirm {
  margin: 0 0 20px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.byserg-asistente-confirm[hidden] {
  display: none !important;
}

.byserg-asistente-confirm p {
  margin: 0 0 12px;
  color: var(--tj-color-common-white);
  font-size: 14px;
  line-height: 1.45;
}

.byserg-asistente-confirm-actions {
  display: flex;
  gap: 8px;
}

.byserg-asistente-confirm-actions button {
  flex: 1;
  height: 40px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.byserg-asistente-confirm-actions [data-confirm="yes"] {
  border: 0;
  background: var(--tj-color-theme-primary);
  color: var(--tj-color-common-white);
}

.byserg-asistente-confirm-actions [data-confirm="no"] {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: var(--tj-color-common-white);
}

.byserg-asistente-chips[hidden] {
  display: none !important;
}

.byserg-asistente-chat {
  margin-bottom: 0;
  flex: 1;
  min-height: 0;
}

.byserg-asistente-chat .hamburger-title {
  flex-shrink: 0;
  margin-bottom: 12px;
}

.byserg-asistente-composer textarea {
  display: block;
  width: 100%;
  margin-top: 0;
  height: auto;
  min-height: 44px;
  max-height: 96px;
  padding: 10px 12px;
  border: 1px solid var(--tj-color-border-1);
  border-radius: 10px;
  background: var(--tj-color-common-white);
  color: var(--tj-color-text-body);
  font-size: 14px;
  font-family: inherit;
  resize: none;
  overflow-x: hidden;
  overflow-y: hidden;
}

.byserg-asistente-composer textarea.is-scrollable {
  overflow-y: auto;
}

.byserg-asistente-composer textarea:focus,
.byserg-asistente-composer textarea:focus-visible {
  outline: none;
  box-shadow: none;
  border-color: var(--tj-color-border-1);
}

.byserg-asistente-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  color: var(--tj-color-text-body-2);
}

.byserg-asistente-consent a {
  color: var(--tj-color-theme-primary);
}

.byserg-asistente-consent input {
  margin-top: 4px;
}

.byserg-asistente-submit {
  margin-top: 8px;
}

.byserg-asistente-chat {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.byserg-asistente-log {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
  min-height: 0;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.byserg-asistente-log::before {
  content: "";
  flex: 1 1 0;
  min-height: 0;
}

.byserg-asistente-msg {
  max-width: 90%;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.5;
  border-radius: 10px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  flex-shrink: 0;
}

.byserg-asistente-msg.is-assistant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  color: var(--tj-color-common-white);
  animation: byserg-msg-slide 0.38s ease both;
}

.byserg-asistente-msg.is-user {
  align-self: flex-end;
  background: var(--tj-color-theme-primary);
  color: var(--tj-color-common-white);
  animation: byserg-msg-slide-user 0.38s ease both;
}

@keyframes byserg-msg-slide {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes byserg-msg-slide-user {
  from {
    opacity: 0;
    transform: translateY(18px) translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

.byserg-asistente-msg.is-assistant a {
  color: var(--tj-color-theme-primary);
  text-decoration: underline;
}

.byserg-asistente-msg.is-typing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  min-width: 58px;
  padding: 14px 16px;
  white-space: normal;
  animation: none;
}

.byserg-asistente-msg.is-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  animation: byserg-typing 1.15s ease-in-out infinite;
}

.byserg-asistente-msg.is-typing span:nth-child(2) {
  animation-delay: 0.16s;
}

.byserg-asistente-msg.is-typing span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes byserg-typing {
  0%,
  80%,
  100% {
    opacity: 0.28;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

.byserg-asistente-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
}

.byserg-asistente-chips button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--tj-color-common-white);
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  max-width: 100%;
}

.byserg-asistente-chips button:hover {
  color: var(--tj-color-theme-primary);
  border-color: var(--tj-color-theme-primary);
}

.byserg-asistente-composer {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  flex-shrink: 0;
}

.byserg-asistente-composer button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--tj-color-theme-primary);
  color: var(--tj-color-common-white);
  cursor: pointer;
}

#byserg-asistente.is-busy .byserg-asistente-composer button {
  opacity: 0.6;
  pointer-events: none;
}

@media (max-width: 767px) {
  #byserg-asistente.byserg-chat-panel {
    top: auto;
    bottom: 8px;
    width: min(470px, calc(100% - 16px));
    height: min(78vh, calc(100% - 16px));
  }

  #byserg-asistente.byserg-chat-panel.byserg-open {
    inset-inline-end: 8px !important;
  }
}

@media (max-width: 575px) {
  #byserg-asistente.byserg-chat-panel {
    top: auto;
    bottom: 8px;
    width: calc(100% - 16px);
    height: min(78vh, calc(100% - 16px));
    border-radius: 12px;
  }

  #byserg-asistente.byserg-chat-panel.byserg-open {
    inset-inline-end: 6px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.page-servicio .post-details-wrapper .blog-images {
  aspect-ratio: 870 / 450;
}

.page-servicio .post-details-wrapper .blog-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-servicio .post-details-wrapper .image-box {
  aspect-ratio: 1 / 1;
}

.page-servicio .post-details-wrapper .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-servicio .post-details-wrapper .blog-text > h2 {
  font-size: var(--tj-fs-h3);
  line-height: 1.25;
  margin-bottom: 25px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .page-servicio .post-details-wrapper .blog-text > h2 {
    font-size: 28px;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .page-servicio .post-details-wrapper .blog-text > h2 {
    font-size: 25px;
  }
}

.page-servicio .post-details-wrapper .blog-text ul.service-scope {
  margin-bottom: 16px;
}

.page-servicio .post-details-wrapper .blog-text .scope-note {
  margin-bottom: 40px;
}

.page-servicio .service-details-item h3.title {
  font-size: var(--tj-fs-h6);
  line-height: 1.444;
}

.page-servicio .tj-faq .accordion-item h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.page-servicio .widget-feature-item .feature-box .feature-content .title {
  font-size: 32px;
  line-height: 1.2;
  max-width: 240px;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .page-servicio .widget-feature-item .feature-box .feature-content .title {
    font-size: 28px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .page-servicio .widget-feature-item .feature-box .feature-content .title {
    font-size: 26px;
  }
}

.page-servicio .widget-feature-item .feature-box .feature-content > span {
  line-height: 1.4;
  max-width: 220px;
}

.page-servicio .widget-feature-item .feature-mail {
  display: inline-flex;
  color: var(--tj-color-common-white);
  font-weight: var(--tj-fw-sbold);
  margin: 0 0 16px;
}

.page-servicio .widget-feature-item .feature-mail:hover {
  color: var(--tj-color-theme-primary);
}

.byserg-team-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 8px auto 40px;
  padding: 6px;
  max-width: 920px;
  background-color: var(--tj-color-theme-dark);
  border-radius: 100px;
}

.byserg-team-tab {
  background: transparent;
  color: var(--tj-color-common-white);
  font-size: 15px;
  padding: 12px 18px;
  border: 0;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--tj-fw-sbold);
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.byserg-team-tab.active,
.byserg-team-tab:hover,
.byserg-team-tab:focus-visible {
  background: var(--tj-color-theme-primary);
  color: var(--tj-color-common-white);
}

.byserg-team-tab-content {
  margin-top: 8px;
}

.byserg-team-tab-content .team-item .designation {
  max-width: 100%;
  white-space: normal;
  line-height: 1.35;
}

.byserg-team-tab-content .team-item .title {
  width: 100%;
}

.byserg-team-tab-content .team-item {
  outline: none;
}

.byserg-team-tab-content .team-item:focus-visible {
  outline: 2px solid var(--tj-color-theme-primary);
  outline-offset: 4px;
  border-radius: 12px;
}

.byserg-team-tab-content .team-overlay-desc {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 28px 24px;
  color: var(--tj-color-common-white);
  text-align: center;
  font-size: 17px;
  font-weight: var(--tj-fw-medium);
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.byserg-team-tab-content .team-item.is-desc-open .team-overlay-desc,
.byserg-team-tab-content .team-item:focus-within .team-overlay-desc {
  opacity: 1;
  visibility: visible;
}

.byserg-team-tab-content .team-item.is-desc-open .team-img::before,
.byserg-team-tab-content .team-item:focus-within .team-img::before {
  opacity: 0.75;
}

.byserg-team-tab-content .team-item.is-desc-open .team-img img,
.byserg-team-tab-content .team-item:focus-within .team-img img {
  transform: perspective(400px) rotateX(0.09deg) rotateY(0) scaleX(1.1) scaleY(1.1);
}

@media (hover: hover) and (pointer: fine) {
  .byserg-team-tab-content .team-item:hover .team-overlay-desc {
    opacity: 1;
    visibility: visible;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .byserg-team-tab-content .team-overlay-desc {
    font-size: 15px;
    padding: 22px 18px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .byserg-team-tabs {
    border-radius: 20px;
    gap: 6px;
    margin-bottom: 28px;
  }

  .byserg-team-tab {
    flex: 1 1 100%;
    font-size: 14px;
    padding: 12px 14px;
  }
}

.page-legal .post-details-wrapper .blog-text h2 {
  font-size: var(--tj-fs-h3);
  line-height: 1.25;
  margin-top: 12px;
  margin-bottom: 18px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .page-legal .post-details-wrapper .blog-text h2 {
    font-size: 28px;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .page-legal .post-details-wrapper .blog-text h2 {
    font-size: 25px;
  }
}

.byserg-chat-fab {
  position: fixed;
  bottom: 28px;
  inset-inline-end: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--byserg-turquoise);
  color: var(--byserg-white);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(4, 28, 50, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease, visibility 0.2s ease, background-color 0.2s ease;
}

.byserg-chat-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--byserg-turquoise);
  opacity: 0.35;
  z-index: -1;
  animation: byserg-fab-pulse 2.6s ease-out infinite;
}

.byserg-chat-fab svg {
  width: 24px;
  height: 24px;
  display: block;
}

.byserg-chat-fab:hover,
.byserg-chat-fab:focus-visible {
  background: #17b4bb;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 32px rgba(4, 28, 50, 0.22);
  outline: none;
}

.byserg-chat-fab:focus-visible {
  outline: 2px solid var(--byserg-navy);
  outline-offset: 3px;
}

.byserg-chat-fab.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.88);
}

@keyframes byserg-fab-pulse {
  0% {
    transform: scale(1);
    opacity: 0.35;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@media only screen and (max-width: 575px) {
  .byserg-chat-fab {
    width: 52px;
    height: 52px;
    bottom: 20px;
    inset-inline-end: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .byserg-chat-fab,
  .byserg-chat-fab::before {
    animation: none;
    transition: none;
  }
}

/* --- Responsive Byserg (móvil / tablet) --- */
html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

#newsletter-status.form-status {
  width: 100%;
  flex-basis: 100%;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

#newsletter-status.form-status.is-success {
  color: #d8fff3;
  background: rgba(30, 198, 206, 0.18);
  border-color: rgba(30, 198, 206, 0.45);
}

#newsletter-status.form-status.is-error {
  color: #ffe3e3;
  background: rgba(192, 57, 43, 0.22);
  border-color: rgba(240, 180, 180, 0.45);
}

#newsletter-status.form-status.is-pending {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

#byserg-asistente .hamburger_logo img {
  max-width: 140px;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media only screen and (max-width: 991px) {
  section.page-soluciones-servicios.h5-service-section .service-item.style-6 {
    height: auto;
    min-height: 0;
  }

  .h5-footer .footer-contact-info {
    max-width: 100%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .h5-working-process-wrapper {
    gap: 16px;
  }
}

@media only screen and (max-width: 767px) {
  html {
    scroll-padding-top: 88px;
  }

  /* Etiquetas "Etapa" absolutas: espacio + z-index por encima de la card anterior */
  .h5-working-process-wrapper {
    gap: 90px;
  }

  .h5-working-process .process-item,
  .h5-working-process .process-item:nth-child(2),
  .h5-working-process .process-item:last-child {
    z-index: 1;
  }

  .h5-working-process-item {
    position: relative;
  }

  .h5-working-process-item .h5-working-process-indicator {
    z-index: 2;
  }

  .h5-banner-content .banner-title,
  h1.banner-title {
    font-size: clamp(calc(1.9rem - 3px), 8vw, calc(2.4rem - 3px)) !important;
    line-height: 1.12;
    max-width: 100%;
    word-break: break-word;
  }

  /* Home hero H1: +5px respecto al tamaño responsive base */
  #inicio.h5-banner-section .h5-banner-content .banner-title,
  #inicio.h5-banner-section h1.banner-title {
    font-size: clamp(calc(1.9rem + 2px), calc(8vw + 2px), calc(2.4rem + 2px)) !important;
  }

  .h5-banner-content .btn-area {
    width: 100%;
  }

  .h5-banner-content .btn-area .tj-primary-btn {
    width: 100%;
    justify-content: center;
  }

  .h5-client-item .client-logo {
    min-height: 56px;
    padding: 8px 12px;
  }

  .h5-client-item .client-logo img {
    max-height: 40px;
    max-width: 120px;
  }

  #byserg-asistente.byserg-chat-panel {
    bottom: max(8px, env(safe-area-inset-bottom));
    width: min(470px, calc(100% - 16px));
    height: min(82dvh, calc(100dvh - 16px - env(safe-area-inset-bottom)));
    max-height: calc(100dvh - 16px - env(safe-area-inset-bottom));
  }

  #byserg-asistente.byserg-chat-panel.byserg-open {
    inset-inline-end: 8px !important;
  }

  #byserg-asistente .hamburger_wrapper {
    padding: 16px 16px 14px;
  }

  .byserg-asistente-msg {
    max-width: 92%;
    font-size: 14px;
  }

  .byserg-asistente-composer textarea {
    font-size: 16px; /* evita zoom iOS */
  }

  .h5-footer-subscribe .subscribe-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
  }

  .h5-footer-subscribe .subscribe-form input[type="email"] {
    width: 100%;
    max-width: 100%;
  }

  .h5-footer-subscribe .subscribe-form label {
    width: 100%;
    order: 3;
    display: block;
    text-align: left;
    line-height: 1.45;
  }

  .h5-footer-subscribe .subscribe-form label input[type="checkbox"] {
    display: inline-block;
    vertical-align: text-top;
    margin-top: 0.15em;
    flex-shrink: 0;
  }

  .h5-footer-subscribe .subscribe-form label a {
    margin-inline-start: 0;
  }

  .h5-footer-subscribe .subscribe-form .tj-primary-btn {
    width: 100%;
    justify-content: center;
  }

  #newsletter-status {
    order: 4;
  }

  .contact-form .form-input input,
  .contact-form .form-input textarea,
  .contact-form .tj-select select {
    font-size: 16px;
  }

  .page-servicio .widget-feature-item .feature-box .feature-content .title {
    max-width: 100%;
    font-size: 26px;
  }

  .page-servicio .widget-feature-item .feature-box .feature-content > span {
    max-width: 100%;
  }

  /* Decorativos pesados: no aportan en móvil y retrasan LCP */
  .bg-shape-1,
  .bg-shape-2,
  .bg-shape-3,
  .bg-shape-4 {
    display: none !important;
  }
}

/* Preloader: transición corta (el delay largo se eliminó en main.js) */
.tj-preloader.is-loading {
  transition: opacity 0.2s ease;
}

/* Móvil: sin ScrollSmoother — evita transform/will-change innecesarios */
@media only screen and (max-width: 767px) {
  #smooth-content {
    will-change: auto;
    transform: none !important;
  }
}

/* Carrusel problemas → Swiper a borde derecho (como el diseño original) */
.h5-project-slider-bleed {
  --h5-project-gutter: 12px;
  box-sizing: border-box;
  width: 100%;
  padding-inline-start: max(var(--h5-project-gutter), calc((100vw - 1320px) / 2 + var(--h5-project-gutter)));
  padding-inline-end: 0;
}

@media (max-width: 1399.98px) {
  .h5-project-slider-bleed {
    padding-inline-start: max(var(--h5-project-gutter), calc((100vw - 1140px) / 2 + var(--h5-project-gutter)));
  }
}

@media (max-width: 1199.98px) {
  .h5-project-slider-bleed {
    padding-inline-start: max(var(--h5-project-gutter), calc((100vw - 960px) / 2 + var(--h5-project-gutter)));
  }
}

@media (max-width: 991.98px) {
  .h5-project-slider-bleed {
    padding-inline-start: max(var(--h5-project-gutter), calc((100vw - 720px) / 2 + var(--h5-project-gutter)));
  }
}

@media (max-width: 767.98px) {
  .h5-project-slider-bleed {
    padding-inline-start: max(var(--h5-project-gutter), calc((100vw - 540px) / 2 + var(--h5-project-gutter)));
  }
}

@media (max-width: 575.98px) {
  .h5-project-slider-bleed {
    padding-inline-start: var(--h5-project-gutter);
  }
}

.h5-project .h5-project-slider {
  overflow: hidden;
  padding-bottom: 8px;
}

.h5-project .h5-project-slider .swiper-slide {
  height: auto;
}

.h5-project .h5-project-slider .h5-project-item-wrapper {
  width: 100%;
  flex: none;
  padding-inline-end: 0 !important;
  will-change: auto;
}

.h5-project .h5-project-slider .h5-project-item {
  width: 100%;
}

.h5-project .h5-project-slider .swiper-pagination-area {
  margin-top: 28px;
  position: relative;
  padding-inline-end: var(--h5-project-gutter);
}

/* Menos aire entre Problemas… y Conversemos */
.h5-project > .section-gap {
  padding-bottom: 40px;
}

.h5-pricing.section-gap {
  padding-top: 50px;
}

@media (max-width: 991px) {
  .h5-project > .section-gap {
    padding-bottom: 28px;
  }

  .h5-pricing.section-gap {
    padding-top: 36px;
  }
}

@media only screen and (max-width: 575px) {
  .tj-page-header {
    min-height: 253px; /* 220px + ~15% */
    padding-top: 100px;
    padding-bottom: 32px;
  }

  #byserg-asistente.byserg-chat-panel {
    width: calc(100% - 12px);
    bottom: max(6px, env(safe-area-inset-bottom));
    height: min(84dvh, calc(100dvh - 12px - env(safe-area-inset-bottom)));
    border-radius: 14px;
  }

  #byserg-asistente.byserg-chat-panel.byserg-open {
    inset-inline-end: 6px !important;
  }

  .byserg-menu-panel.tj-offcanvas-area {
    width: calc(100% - 16px);
  }

  .byserg-chat-fab {
    bottom: max(16px, env(safe-area-inset-bottom));
    inset-inline-end: max(12px, env(safe-area-inset-right));
  }

  .byserg-asistente-chips {
    gap: 8px;
  }

  .byserg-asistente-chips button {
    flex: 1 1 calc(50% - 8px);
    min-height: 40px;
  }

  .copyright-content-area {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* —— Landing Glovect —— */
.page-glovect .glovect-hero .banner-bg {
  background-image: url("../images/glovect/glovect-hero-captura-campo.webp");
  background-size: cover;
  background-position: center center;
}

.page-glovect .glovect-hero .h5-banner-area {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  justify-content: initial;
  gap: clamp(24px, 3vw, 40px);
  min-height: min(88vh, 860px);
  padding-top: 120px;
  padding-bottom: 100px;
}

.page-glovect .glovect-hero .h5-banner-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  margin: 0;
  padding: 0;
  max-width: 640px;
}

.page-glovect .glovect-brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.page-glovect .glovect-brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 50px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

.page-glovect .glovect-btn-ghost {
  margin-left: 12px;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.page-glovect .glovect-hero-shot {
  position: relative;
  margin: 0;
  align-self: center;
}

.page-glovect .glovect-hero-devices {
  position: relative;
  width: 100%;
  padding-right: clamp(36px, 10%, 72px);
  padding-bottom: clamp(12px, 4%, 28px);
}

.page-glovect .glovect-hero-desktop {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-glovect .glovect-hero-desktop img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 28px 60px rgba(4, 28, 50, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-glovect .glovect-hero-mobile {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(96px, 30%, 168px);
  display: block;
  filter: drop-shadow(0 22px 36px rgba(4, 28, 50, 0.42));
}

.page-glovect .glovect-hero-mobile img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
  border: 0;
  background: transparent;
}

.page-glovect .glovect-shot-frame img,
.page-glovect .glovect-form-aside > img,
.page-glovect .glovect-form-aside > picture img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 28px 60px rgba(4, 28, 50, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-glovect .glovect-form-aside > picture {
  display: block;
  width: 100%;
}

.page-glovect .glovect-shot-frame img {
  box-shadow: 0 24px 48px rgba(4, 28, 50, 0.18);
  border-color: var(--byserg-border);
}

.page-glovect .glovect-pain {
  background: var(--byserg-surface);
  position: relative;
}

.page-glovect .glovect-pain .sec-heading {
  margin-bottom: 12px;
}

.page-glovect .glovect-pain .sec-heading .sub-title {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 65px;
}

.page-glovect .glovect-section-logo {
  display: block;
  width: auto;
  height: 118px;
  max-width: min(420px, 70vw);
  object-fit: contain;
}

.page-glovect .glovect-section-kicker {
  display: block;
  line-height: 1.2;
  margin-top: 0;
}

.page-glovect .glovect-pain .sec-heading .sec-title {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--byserg-navy);
}

.page-glovect .glovect-pain .sec-heading .desc {
  max-width: 560px;
  margin: 16px auto 0;
  color: #5a6573;
  font-size: 17px;
  line-height: 1.55;
}

.page-glovect .glovect-pain-grid {
  margin-top: 44px;
}

.page-glovect .glovect-pain-card {
  height: 100%;
  padding: 32px 28px;
  border-radius: 14px;
  background: var(--byserg-white);
  border: 1px solid var(--byserg-border);
  box-shadow: 0 10px 28px rgba(4, 28, 50, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-glovect .glovect-pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(4, 28, 50, 0.1);
}

.page-glovect .glovect-pain-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(30, 198, 206, 0.12);
  color: var(--byserg-turquoise);
  font-size: 22px;
}

.page-glovect .glovect-pain-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--byserg-navy);
}

.page-glovect .glovect-pain-card p {
  margin: 0;
  color: #5a6573;
  line-height: 1.55;
  font-size: 15px;
}

.page-glovect .glovect-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.page-glovect .glovect-check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  color: #334155;
  line-height: 1.45;
}

.page-glovect .glovect-check-list i {
  color: var(--byserg-turquoise);
  margin-top: 3px;
}

.page-glovect .glovect-showcase {
  background: var(--byserg-surface);
}

.page-glovect .glovect-showcase-alt {
  background: var(--byserg-white);
}

.page-glovect .glovect-map-row {
  margin-top: 72px;
}

.page-glovect .glovect-phone-frame {
  max-width: 340px;
  margin: 0 auto;
}

.page-glovect .glovect-phone-frame > picture {
  display: block;
  width: 100%;
}

.page-glovect .glovect-phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.page-glovect .glovect-steps {
  margin-top: 36px;
}

.page-glovect .glovect-metodo {
  background: var(--byserg-surface);
}

.page-glovect .glovect-metodo .sec-title,
.page-glovect .glovect-pain .sec-title,
.page-glovect .glovect-audiences .sec-title,
.page-glovect .glovect-showcase .sec-title,
.page-glovect .glovect-split .sec-title,
.page-glovect .h5-service-section .sec-title {
  color: var(--byserg-navy);
  opacity: 1 !important;
  visibility: visible !important;
}

.page-glovect .glovect-metodo .sec-title {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.page-glovect .glovect-step {
  height: 100%;
  padding: 28px 24px;
  border-radius: 16px;
  background: var(--byserg-white);
  border: 1px solid var(--byserg-border);
  box-shadow: 0 10px 28px rgba(4, 28, 50, 0.05);
}

.page-glovect .glovect-step .num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--byserg-turquoise);
  margin-bottom: 12px;
}

.page-glovect .glovect-step h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--byserg-navy);
}

.page-glovect .glovect-step p {
  margin: 0;
  color: #4a5563;
}

.page-glovect .glovect-audiences .pricing-box {
  min-height: 180px;
}

.page-glovect .glovect-audiences {
  background: var(--byserg-white);
}

.page-glovect .glovect-audiences .sec-title {
  color: var(--byserg-navy);
  margin-bottom: 12px;
}

.page-glovect .glovect-audience-card {
  height: 100%;
  min-height: 180px;
  padding: 32px 28px;
  border-radius: 14px;
  background: var(--byserg-white);
  border: 1px solid var(--byserg-border);
  box-shadow: 0 10px 28px rgba(4, 28, 50, 0.05);
}

.page-glovect .glovect-audience-card h3 {
  font-size: 22px;
  margin: 0 0 12px;
  color: var(--byserg-navy);
}

.page-glovect .glovect-audience-card p {
  margin: 0;
  color: #5a6573;
  line-height: 1.55;
  font-size: 15px;
}

.page-glovect .glovect-audience-card.is-featured {
  background: var(--byserg-navy);
  border-color: var(--byserg-navy);
  box-shadow: 0 16px 36px rgba(4, 28, 50, 0.22);
}

.page-glovect .glovect-audience-card.is-featured h3 {
  color: var(--byserg-white);
}

.page-glovect .glovect-audience-card.is-featured p {
  color: rgba(255, 255, 255, 0.82);
}

.page-glovect .glovect-form-aside {
  position: relative;
}

.page-glovect .glovect-form-aside-card {
  margin-top: -48px;
  margin-left: 24px;
  margin-right: 24px;
  position: relative;
  background: var(--byserg-white);
  border-radius: 14px;
  padding: 24px 22px 20px;
  box-shadow: 0 16px 40px rgba(4, 28, 50, 0.14);
  border: 1px solid var(--byserg-border);
  text-align: center;
}

.page-glovect .glovect-form-aside-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 160px;
  margin: 0 auto 14px;
  object-fit: contain;
}

.page-glovect .glovect-form-aside-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #4a5563;
  text-align: left;
}

.page-glovect .glovect-form-aside-card a {
  color: var(--byserg-navy);
  text-decoration: underline;
}

@media only screen and (max-width: 991px) {
  .page-glovect .glovect-hero .h5-banner-area {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 48px;
    align-items: start;
  }

  .page-glovect .glovect-hero-devices {
    max-width: 560px;
    margin-inline: auto;
    padding-right: clamp(28px, 12%, 56px);
  }

  .page-glovect .glovect-hero-mobile {
    width: clamp(88px, 28%, 140px);
  }

  .page-glovect .glovect-btn-ghost {
    margin-left: 0;
    margin-top: 12px;
  }

  .page-glovect .glovect-map-row {
    margin-top: 48px;
  }

  .page-glovect .glovect-brand-logo {
    max-height: 53px; /* 50px + 6% */
  }
}

@media only screen and (max-width: 575px) {
  .page-glovect .glovect-brand-lockup {
    flex-wrap: wrap;
  }

  .page-glovect .glovect-brand-logo {
    max-height: 53px;
  }

  .page-glovect .glovect-form-aside-card {
    margin-left: 12px;
    margin-right: 12px;
    margin-top: -32px;
  }
}
