@media (min-width: 769px) {
  .icon-social {
    .menu-uniform-dropdown {
      padding-top: 18px !important;
      padding-bottom: 18px !important;
    }

    .menu-uniform-dropdown .container {
      max-width: 1280px;
    }

    .menu-uniform-dropdown .row {
      row-gap: 18px;
    }

    .menu-feature-card {
      height: 100%;
      padding: 18px 18px 16px;
      border: 1px solid var(--color-neutral);
      border-radius: 14px;
      background: linear-gradient(180deg, var(--color-white) 0%, var(--color-white) 100%);
      box-shadow: 0 10px 28px var(--color-neutral);
      transition: box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .menu-feature-card:hover {
      border-color: var(--color-primary);
      box-shadow: 0 14px 32px var(--color-neutral);
    }

    .menu-feature-card--compact {
      padding: 12px 14px;
      min-height: 100%;
    }

    .menu-uniform-dropdown li.subtitulo {
      font-size: 1.05rem;
      line-height: 1.3;
      color: var(--color-neutral);
      margin-bottom: 10px;
    }

    .menu-uniform-dropdown .dropdown-item.dropdown-item-text-v0 {
      padding: 0.38rem 0;
      line-height: 1.42;
      white-space: normal;
      color: var(--color-neutral);
    }

    .menu-uniform-dropdown .dropdown-item.dropdown-item-text-v0:hover,
    .menu-uniform-dropdown .dropdown-item.dropdown-item-text-v0.active {
      color: var(--color-neutral);
      background: transparent;
    }

    .menu-uniform-dropdown .dropdown-item img {
      flex: 0 0 auto;
    }

    @media (max-width: 1199.98px) {
      .menu-feature-card,
      .menu-feature-card--compact {
        padding: 14px 14px 12px;
        border-radius: 12px;
        box-shadow: none;
      }
    }
  }
}

.dropdown-item-text-v0 {
  white-space: inherit !important;
}

.fondo-dm {
  background-color: transparent;
  border: transparent;
  border: none;
  width: 200px;
  margin-left: -50px;
}

li a.fondo-di:hover {
  background-color: transparent !important;
}

.mega-menu {
  position: absolute;
}

.accordion-item-v0 {
  border: none !important;
}

@media (min-width: 1200px) {
  .navbar-toggler {
    display: none !important;
  }
}

.navbar-toggler {
  border-color: var(--color-primary) !important;
  color: var(--color-primary);
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Header mega-menu */
.header-nav-reference {
  width: 100%;
  margin-top: 12px;
  padding: 0;
  background: var(--color-white);
}

.header-nav-reference .offcanvas-body {
  width: 100%;
}

.header-nav-reference .linea,
.header-nav-reference a.linea,
.header-nav-reference a.linea.active {
  background-image: none;
}

.header-nav-reference .header-nav-track {
  width: 100%;
  justify-content: flex-end;
  align-items: stretch;
  gap: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-white) 100%);
  box-shadow: none;
  overflow: visible;
}

.header-nav-reference .nav-item.mx-2 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.header-nav-reference .nav-link.linea {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 8px;
  padding: 14px 18px 20px !important;
  color: var(--color-secondary) !important;
  font-family: var(--font-family) !important;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 0;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.header-nav-reference .header-nav-link-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-nav-reference .header-nav-icon {
  flex-shrink: 0;
  font-size: 1.16rem;
  line-height: 1;
  opacity: 0.82;
}

.header-nav-reference .header-nav-icon,
.header-nav-reference .header-nav-link-label > .header-nav-icon {
  display: none !important;
}

.header-nav-reference .nav-link.linea::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 9px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary) 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.header-nav-reference .nav-link.linea:hover,
.header-nav-reference .nav-link.linea:focus,
.header-nav-reference .nav-link.linea.active,
.header-nav-reference .nav-link.linea.show {
  color: var(--color-secondary) !important;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-white) 100%);
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-2px);
}

.header-nav-reference .nav-link.linea:hover::after,
.header-nav-reference .nav-link.linea:focus::after,
.header-nav-reference .nav-link.linea.active::after,
.header-nav-reference .nav-link.linea.show::after {
  transform: scaleX(1);
}

.header-nav-reference .nav-link.dropdown-toggle::after {
  margin-left: 0.45rem;
  vertical-align: 0.12rem;
  opacity: 0.72;
}

.header-nav-reference .header-menu-panel {
  overflow: hidden;
}

.header-nav-reference .dropdown-menu.menu-completo li,
.header-nav-reference .header-menu-link-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav-reference .header-menu-shell {
  max-width: 100%;
}

.header-nav-reference .header-menu-grid {
  display: grid;
  margin: 0 !important;
}

.header-nav-reference .header-menu-grid > .header-menu-column {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
}

.header-nav-reference .header-menu-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--color-neutral) !important;
  font-family: var(--font-family) !important;
  font-size: 0.96rem;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.header-nav-reference .header-menu-media {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.header-nav-reference .header-menu-media i {
  font-size: 0.92rem;
  line-height: 1;
  display: inline-block;
}

.header-nav-reference .header-menu-title img,
.header-nav-reference .header-menu-media--title {
  width: 20px;
  height: 20px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-primary);
  border: 0;
  object-fit: contain;
}

.header-nav-reference .header-menu-media--title,
.header-nav-reference .header-menu-media--rail,
.header-nav-reference .header-menu-media--pane {
  font-size: 1.22rem;
}

.header-nav-reference .header-menu-media--link {
  width: 18px;
  height: 18px;
  border-radius: 0;
  background: transparent;
  color: var(--color-primary);
  border: 0;
  font-size: 0.88rem;
}

.header-nav-reference .header-menu-media--rail,
.header-nav-reference .header-menu-media--pane {
  width: 18px;
  height: 18px;
  border-radius: 0;
  background: transparent;
  color: var(--color-primary);
  border: 0;
}

.header-nav-reference .header-menu-rail-item:hover .header-menu-media,
.header-nav-reference .header-menu-rail-item:focus .header-menu-media,
.header-nav-reference .header-menu-rail-item.is-active .header-menu-media {
  color: var(--color-white);
}

.header-nav-reference .dropdown-menu.menu-completo .dropdown-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.45rem 0 0.45rem 1rem !important;
  color: var(--color-neutral) !important;
  font-family: var(--font-family) !important;
  font-size: 1.02rem;
  line-height: 1.45;
  background: transparent !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-nav-reference .dropdown-menu.menu-completo .dropdown-item::before {
  content: none;
  position: absolute;
  left: 0;
  top: 0.32rem;
  color: var(--color-neutral);
  font-size: 0.82rem;
  opacity: 0.78;
}

.header-nav-reference .header-menu-link-label {
  flex: 1;
}

.header-nav-reference .dropdown-menu.menu-completo .dropdown-item:hover,
.header-nav-reference .dropdown-menu.menu-completo .dropdown-item:focus,
.header-nav-reference .dropdown-menu.menu-completo .dropdown-item.active {
  color: var(--color-neutral) !important;
  transform: translateX(4px);
}

@media (min-width: 1200px) {
  .header-nav-reference {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .header-nav-reference .offcanvas-body {
    padding-left: 0;
    padding-right: 0;
  }

  .header-nav-reference .header-nav-track {
    padding-left: clamp(18px, 2.4vw, 42px);
    padding-right: clamp(18px, 2.4vw, 42px);
    border-radius: 0;
  }

  .header-nav-reference .dropdown-menu.menu-completo {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    top: calc(100% + 1px) !important;
    margin-top: 0 !important;
    padding: 10px 0 14px !important;
    border-radius: 0 !important;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-white) 100%) !important;
    border: 1px solid var(--color-secondary) !important;
    box-shadow: none;
  }

  .header-nav-reference .header-menu-shell {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: clamp(8px, 1vw, 20px) !important;
    padding-right: clamp(8px, 1vw, 20px) !important;
  }

  .header-nav-reference .header-menu-grid {
    gap: 0;
  }

  .header-nav-reference .header-menu-grid--conocenos,
  .header-nav-reference .header-menu-grid--atencion-ciudadana,
  .header-nav-reference .header-menu-grid--servicios {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .header-nav-reference .header-menu-grid--conocenos .header-menu-column,
  .header-nav-reference .header-menu-grid--atencion-ciudadana .header-menu-column,
  .header-nav-reference .header-menu-grid--servicios .header-menu-column {
    padding: 0 28px !important;
    border-left: 0;
  }

  .header-nav-reference .header-menu-grid--conocenos .header-menu-column:first-child,
  .header-nav-reference .header-menu-grid--atencion-ciudadana .header-menu-column:first-child,
  .header-nav-reference .header-menu-grid--servicios .header-menu-column:first-child {
    border-left: 0;
  }

  .header-nav-reference .header-menu-grid--conocenos .header-menu-section,
  .header-nav-reference .header-menu-grid--atencion-ciudadana .header-menu-section,
  .header-nav-reference .header-menu-grid--servicios .header-menu-section {
    min-height: 100%;
    padding: 6px 0;
  }

  .header-nav-reference .header-menu-grid--conocenos .dropdown-item,
  .header-nav-reference .header-menu-grid--atencion-ciudadana .dropdown-item,
  .header-nav-reference .header-menu-grid--servicios .dropdown-item {
    font-size: 1.08rem;
  }

  .header-nav-reference #header-menu-idioma .header-menu-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }

  .header-nav-reference #header-menu-idioma .header-menu-column {
    padding: 0 !important;
  }

  .header-nav-reference #header-menu-idioma .header-menu-section {
    padding: 0;
  }

  .header-nav-reference #header-menu-idioma .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 0.95rem 1rem !important;
    border-radius: 16px;
    background: var(--color-secondary) !important;
    color: var(--color-white) !important;
  }

  .header-nav-reference #header-menu-idioma .dropdown-item::before {
    display: none;
  }

  .header-nav-reference #header-menu-guia-pasajero {
    min-height: 0;
  }

  .header-nav-reference #header-menu-guia-pasajero .header-menu-shell {
    padding-left: clamp(4px, 0.7vw, 12px) !important;
    padding-right: clamp(4px, 0.7vw, 12px) !important;
  }

  .header-nav-reference .header-menu-showcase {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    min-height: 0;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--color-secondary);
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-white) 100%);
  }

  .header-nav-reference .header-menu-content {
    min-height: 0;
  }

  .header-nav-reference .header-menu-rail {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-white) 100%);
    border-right: 1px solid var(--color-secondary);
  }

  .header-nav-reference .header-menu-rail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 72px;
    padding: 18px 22px;
    color: var(--color-neutral);
    font-family: var(--font-family) !important;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-align: left;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--color-secondary);
    border-radius: 18px;
    transition:
      background-color 0.2s ease,
      color 0.2s ease,
      border-color 0.2s ease,
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }

  .header-nav-reference .header-menu-rail-item:hover,
  .header-nav-reference .header-menu-rail-item:focus {
    color: var(--color-white);
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary) 100%);
    border-color: var(--color-primary);
    box-shadow: none;
    transform: none;
  }

  .header-nav-reference .header-menu-rail-item.is-active {
    color: var(--color-white);
    background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-secondary) 100%);
    border-color: var(--color-secondary);
    box-shadow: none;
    transform: none;
  }

  .header-nav-reference .header-menu-rail-label {
    flex: 1;
    line-height: 1.45;
  }

  .header-nav-reference .header-menu-rail-main {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
  }

  .header-nav-reference .header-menu-rail-arrow {
    font-size: 1.3rem;
    line-height: 1;
  }

  .header-nav-reference .header-menu-content {
    padding: 34px 40px 36px;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-white) 100%);
  }

  .header-nav-reference .header-menu-pane {
    display: none;
  }

  .header-nav-reference .header-menu-pane.is-active {
    display: block;
  }

  .header-nav-reference .header-menu-pane-header {
    margin-bottom: 18px;
  }

  .header-nav-reference .header-menu-pane-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--color-neutral);
    font-family: var(--font-family) !important;
    font-size: 1.02rem;
    letter-spacing: 0.24em;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .header-nav-reference .header-menu-pane-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    gap: 12px 42px;
    padding: 0;
    margin: 0;
  }

  .header-nav-reference .header-menu-pane-links--compact {
    grid-template-columns: minmax(280px, 0.9fr);
  }

  .header-nav-reference .header-menu-pane-links .dropdown-item {
    padding-top: 0.55rem !important;
    padding-bottom: 0.55rem !important;
    font-size: 1.12rem;
    line-height: 1.5;
  }
}

@media (max-width: 1199.98px) {
  .header-nav-reference {
    margin-top: 0;
  }

  .header-nav-reference .header-nav-track {
    border: 0;
    border-radius: 0;
    background: var(--color-white);
    box-shadow: none;
    padding: 0;
    gap: 8px;
  }

  .header-nav-reference .offcanvasjac {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-white) 100%);
  }

  .header-nav-reference .nav-link.linea {
    justify-content: flex-start;
    min-height: auto;
    margin-top: 0;
    padding: 13px 14px 15px !important;
    border: 0;
    border-radius: 14px;
    background: var(--color-white);
    box-shadow: 0 2px 8px -6px rgba(18, 23, 62, 0.45);
  }

  .header-nav-reference .dropdown-menu.menu-completo {
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
    position: static !important;
    margin-top: 8px !important;
    padding: 16px !important;
    border-radius: 18px !important;
    background: var(--color-white) !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .header-nav-reference .header-menu-grid {
    gap: 18px;
  }

  .header-nav-reference .header-menu-section {
    padding: 0;
  }

  .header-nav-reference .header-menu-title {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
  }

  .header-nav-reference .header-menu-title img,
  .header-nav-reference .header-menu-media--title {
    width: 34px;
    height: 34px;
    padding: 6px;
    border-radius: 12px;
  }

  .header-nav-reference .header-menu-media--link {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    font-size: 0.92rem;
  }

  .header-nav-reference .dropdown-menu.menu-completo .dropdown-item {
    font-size: 0.98rem;
  }

  .header-nav-reference .header-menu-showcase {
    display: block;
  }

  .header-nav-reference .header-menu-rail {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
  }

  .header-nav-reference .header-menu-rail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    color: var(--color-neutral);
    font-family: var(--font-family) !important;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--color-white);
    border: 0;
    border-radius: 14px;
    box-shadow: 0 2px 8px -6px rgba(18, 23, 62, 0.45);
  }

  .header-nav-reference .header-menu-rail-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
  }

  .header-nav-reference .header-menu-rail-item.is-active {
    color: var(--color-white);
    background: var(--color-secondary);
    border-color: var(--color-secondary);
  }

  .header-nav-reference .header-menu-content {
    padding: 16px;
    border-radius: 18px;
    background: var(--color-white);
    border: 0;
    display: none;
  }

  .header-nav-reference .header-menu-pane-inline {
    display: block;
    margin: -2px 0 8px;
    padding: 2px 10px 6px 14px;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .header-nav-reference .header-menu-pane-inline .header-menu-pane-links {
    gap: 4px;
  }

  .header-nav-reference .header-menu-pane {
    display: none;
  }

  .header-nav-reference .header-menu-pane.is-active {
    display: block;
  }

  .header-nav-reference .header-menu-pane-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--color-neutral);
    font-family: var(--font-family) !important;
    font-size: 0.84rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .header-nav-reference .header-menu-pane-links {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 0;
  }

  .header-nav-reference #header-menu-idioma .dropdown-item::before {
    display: none;
  }
}

#conviasa-header {
	--header-ink: var(--color-secondary);
	--header-accent: var(--color-primary);
	--header-surface: #f5f7fb;
	--header-line: rgba(18, 23, 62, .12);
	background: var(--color-white);
	box-shadow: 0 12px 32px rgba(18, 23, 62, .08) !important;
	border-bottom: 1px solid var(--header-line) !important;
	transition: box-shadow .2s ease;
}

#conviasa-header::before {
	content: "";
	display: block;
	height: 4px;
	background: linear-gradient(90deg, var(--header-accent) 0%, var(--header-accent) 24%, var(--header-ink) 24%, var(--header-ink) 100%);
}

#conviasa-header .header-container {
	position: relative;
}

#conviasa-header .header-brand-row {
	min-height: 58px;
	padding: 6px 0;
	transition: min-height .2s ease, padding .2s ease;
}

#conviasa-header .header-brand-group {
	gap: clamp(16px, 2vw, 30px);
}

#conviasa-header .header-brand-group .logo-left + .logo-left {
	padding-left: clamp(16px, 2vw, 30px);
	border-left: 1px solid var(--header-line);
}

#conviasa-header .header-brand-row .logo-left img,
#conviasa-header .header-brand-row .logo-right img {
	height: 40px;
	min-height: 0;
	max-height: 40px;
	transition: height .2s ease, max-height .2s ease;
}

#conviasa-header .header-nav-reference {
	margin-top: 0;
	background: transparent;
}

#conviasa-header .header-nav-track {
	gap: 4px;
	background: transparent;
}

#conviasa-header .header-nav-reference .nav-link.linea {
	min-height: 48px;
	margin: 0 0 4px;
	padding: 10px 14px !important;
	border-radius: 12px;
	font-size: .73rem;
	font-weight: 600;
	letter-spacing: .07em;
	white-space: nowrap;
}

#conviasa-header .header-nav-reference .nav-link.linea::after {
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 2px;
	border: 0;
}

#conviasa-header .header-nav-reference .nav-link.linea:hover,
#conviasa-header .header-nav-reference .nav-link.linea:focus,
#conviasa-header .header-nav-reference .nav-link.linea.active,
#conviasa-header .header-nav-reference .nav-link.linea.show {
	background: var(--header-surface);
	transform: none;
}

#conviasa-header .header-nav-reference .nav-link.dropdown-toggle::before {
	content: "";
	order: 2;
	width: 6px;
	height: 6px;
	margin: -3px 0 0 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
}

#conviasa-header :is(a, button):focus-visible {
	outline: 3px solid var(--header-accent);
	outline-offset: 3px;
}

@media (min-width: 1200px) {
	#conviasa-header.is-scrolled .header-brand-row {
		min-height: 44px;
		padding: 4px 0;
	}

	#conviasa-header.is-scrolled .header-brand-row .logo-left img,
	#conviasa-header.is-scrolled .header-brand-row .logo-right img {
		height: 32px;
		max-height: 32px;
	}

	#conviasa-header .header-nav-track {
		justify-content: flex-end;
		max-width: 1140px;
		margin-inline: auto !important;
		padding: 0 12px;
	}

	#conviasa-header .header-nav-reference .dropdown-menu.menu-completo {
		padding: 18px 0 22px !important;
		border: 0 !important;
		border-top: 1px solid var(--header-line) !important;
		box-shadow: 0 22px 35px rgba(18, 23, 62, .12);
	}

	#conviasa-header .header-menu-showcase {
		border-color: var(--header-line);
		background: var(--header-surface);
	}

	#conviasa-header .header-menu-rail {
		border-color: var(--header-line);
		background: var(--header-surface);
	}

	#conviasa-header .header-menu-content {
		background: var(--color-white);
	}
}

@media (min-width: 1400px) {
	#conviasa-header .header-nav-track {
		max-width: 1320px;
	}
}

@media (max-width: 1199.98px) {
	#conviasa-header .header-container {
		padding-top: 8px;
		padding-bottom: 8px;
		transition: padding .2s ease;
	}

	#conviasa-header.is-scrolled .header-container {
		padding-top: 5px;
		padding-bottom: 5px;
	}

	#conviasa-header .header-mobile-brand {
		min-width: 0;
		gap: clamp(8px, 2vw, 20px) !important;
	}

	#conviasa-header .header-mobile-brand .logo-left {
		min-width: 0;
	}

	#conviasa-header .header-mobile-brand img {
		max-width: 100%;
	}

	#conviasa-header .header-mobile-actions {
		flex-shrink: 0;
		gap: 10px !important;
	}

	#conviasa-header .navbar-toggler {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		padding: 0;
		color: var(--color-white);
		background: var(--header-ink);
		border: 0 !important;
		border-radius: 14px;
	}

	#conviasa-header .offcanvasjac {
		width: min(390px, 90vw);
		background: var(--color-white);
	}

	#conviasa-header .offcanvas-header {
		min-height: 82px;
		border-bottom: 1px solid var(--header-line);
	}

	#conviasa-header .header-nav-track {
		align-items: stretch;
		gap: 6px;
	}

	#conviasa-header .header-nav-reference .nav-link.linea {
		justify-content: flex-start;
		min-height: 48px;
		margin: 0;
		padding: 12px 14px !important;
		font-size: .8rem;
		box-shadow: none;
		white-space: normal;
	}

	#conviasa-header .header-nav-reference .header-nav-link-label > .header-nav-icon {
		display: inline-block !important;
		color: var(--header-accent);
	}

	#conviasa-header .header-nav-reference .nav-link.dropdown-toggle::before {
		margin-left: auto;
	}

	#conviasa-header .header-nav-reference .dropdown-menu.menu-completo {
		background: var(--header-surface) !important;
	}

	#conviasa-header .header-nav-reference .dropdown-menu.menu-completo .dropdown-item {
		white-space: normal;
	}
}

@media (max-width: 400px) {
	#conviasa-header .header-mobile-actions .logo-right-bicent {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	#conviasa-header,
	#conviasa-header .header-container,
	#conviasa-header .header-brand-row,
	#conviasa-header .header-brand-row .logo-left img,
	#conviasa-header .header-brand-row .logo-right img,
	#conviasa-header .header-nav-reference .nav-link.linea,
	#conviasa-header .header-nav-reference .nav-link.linea::after {
		transition: none;
	}
}

#conviasa-header.is-scrolled {
	box-shadow: 0 8px 24px rgba(18, 23, 62, .18) !important;
}

#conviasa-header {
	--header-menu-card: #ffffff;
	--header-menu-muted: #e8ecf4;
	--header-menu-shadow: 0 24px 60px rgba(18, 23, 62, .18);
}

#conviasa-header .header-menu-pane-links .dropdown-item {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	height: 100%;
	min-height: 48px;
	padding: 10px 14px !important;
	border: 1px solid var(--header-menu-muted);
	border-radius: 12px;
	background: var(--header-menu-card) !important;
	color: var(--header-ink) !important;
	font-size: .95rem;
	font-weight: 500;
	line-height: 1.4;
	white-space: normal;
	overflow-wrap: break-word;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

#conviasa-header .header-menu-pane-links .header-menu-media--link {
	display: none;
}

#conviasa-header .header-menu-pane-links .dropdown-item::after {
	content: "\2192";
	flex-shrink: 0;
	color: var(--header-accent);
	font-size: 1.25rem;
	line-height: 1;
}

#conviasa-header .header-menu-pane-links .dropdown-item:hover,
#conviasa-header .header-menu-pane-links .dropdown-item:focus,
#conviasa-header .header-menu-pane-links .dropdown-item.active {
	color: var(--header-ink) !important;
	border-color: var(--header-accent);
	background: var(--header-menu-card) !important;
	box-shadow: 0 8px 22px rgba(18, 23, 62, .09);
	transform: none;
}

@media (min-width: 1200px) {
	#conviasa-header .header-nav-reference .dropdown-menu.menu-completo {
		width: 100vw !important;
		max-width: 100vw !important;
		max-height: max(180px, calc(100vh - 155px));
		top: calc(100% + 1px) !important;
		overflow-y: auto;
		padding: 12px clamp(16px, 2vw, 32px) !important;
		border: 0 !important;
		border-top: 1px solid var(--header-menu-muted) !important;
		border-radius: 0 !important;
		background: var(--color-white) !important;
		box-shadow: var(--header-menu-shadow);
	}

	#conviasa-header .header-nav-reference .header-menu-shell,
	#conviasa-header .header-nav-reference #header-menu-guia-pasajero .header-menu-shell {
		padding: 0 !important;
	}

	#conviasa-header .header-nav-reference .header-menu-showcase {
		grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
		border: 1px solid var(--header-menu-muted);
		border-radius: 20px;
		background: var(--header-surface);
	}

	#conviasa-header .header-nav-reference .header-menu-rail {
		position: relative;
		gap: 8px;
		padding: 16px;
		border: 0;
		border-right: 1px solid var(--header-menu-muted);
		background: var(--header-surface);
	}

	#conviasa-header .header-nav-reference .header-menu-rail-item {
		min-height: 48px;
		padding: 10px 12px;
		border: 1px solid var(--header-menu-muted);
		border-radius: 14px;
		background: var(--color-white);
		color: var(--header-ink);
		font-size: .8rem;
		letter-spacing: .07em;
	}

	#conviasa-header .header-nav-reference .header-menu-rail-item:hover,
	#conviasa-header .header-nav-reference .header-menu-rail-item:focus,
	#conviasa-header .header-nav-reference .header-menu-rail-item.is-active {
		border-color: var(--header-ink);
		background: var(--header-ink);
		color: var(--color-white);
		box-shadow: inset 4px 0 0 var(--header-accent);
	}

	#conviasa-header .header-menu-rail-item:hover .header-menu-media,
	#conviasa-header .header-menu-rail-item:focus .header-menu-media,
	#conviasa-header .header-menu-rail-item.is-active .header-menu-media {
		color: var(--color-white);
	}

	#conviasa-header .header-nav-reference .header-menu-content {
		display: flex;
		align-items: flex-start;
		min-width: 0;
		min-height: 0;
		padding: 16px;
		background: var(--color-white);
	}

	#conviasa-header .header-menu-pane.is-active {
		width: 100%;
	}

	#conviasa-header .header-nav-reference .header-menu-pane-links,
	#conviasa-header .header-nav-reference .header-menu-pane-links--compact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	#conviasa-header .header-menu-pane-links > .header-menu-link-item:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	#conviasa-header #header-menu-idioma .header-menu-shell {
		padding: 24px !important;
	}

	#conviasa-header #header-menu-idioma .dropdown-item {
		border: 1px solid var(--header-menu-muted);
		background: var(--header-menu-card) !important;
		color: var(--header-ink) !important;
	}

	#conviasa-header #header-menu-idioma .dropdown-item:hover,
	#conviasa-header #header-menu-idioma .dropdown-item:focus {
		border-color: var(--header-accent);
	}
}

@media (max-width: 1199.98px) {
	#conviasa-header .header-nav-reference .dropdown-menu.menu-completo {
		padding: 12px !important;
		border: 1px solid var(--header-menu-muted) !important;
	}

	#conviasa-header .header-nav-reference .header-menu-rail {
		gap: 8px;
		margin: 0;
	}

	#conviasa-header .header-nav-reference .header-menu-rail-item {
		min-height: 50px;
		border: 1px solid var(--header-menu-muted);
		font-weight: 600;
		box-shadow: none;
	}

	#conviasa-header .header-menu-pane-inline {
		margin: 0 0 8px;
		padding: 0;
	}

	#conviasa-header .header-menu-pane-inline .header-menu-pane-links {
		gap: 8px;
	}

	#conviasa-header .header-menu-pane-links .dropdown-item {
		min-height: 48px;
		padding: 10px !important;
		font-size: .82rem;
	}

}

@media (prefers-reduced-motion: reduce) {
	#conviasa-header .header-menu-pane-links .dropdown-item {
		transition: none;
	}
}
